chore: update deps

This commit is contained in:
Travis Fischer
2021-04-07 17:22:40 -04:00
parent 3e30d05862
commit afaed50355
4 changed files with 54 additions and 20 deletions

View File

@@ -1,11 +0,0 @@
import * as React from 'react'
import InnerHTML from 'dangerously-set-html-content'
import * as types from '../lib/types'
export const CustomHtml: React.FC<{ site: types.Site }> = ({ site }) => {
if (!site.html) {
return null
}
return <InnerHTML html={site.html} />
}

View File

@@ -26,7 +26,6 @@ import * as config from 'lib/config'
// components
import { CustomFont } from './CustomFont'
import { CustomHtml } from './CustomHtml'
import { Loading } from './Loading'
import { Page404 } from './Page404'
import { PageHead } from './PageHead'
@@ -279,8 +278,6 @@ export const NotionPage: React.FC<types.PageProps> = ({
/>
<GitHubShareButton />
<CustomHtml site={site} />
</TwitterContextProvider>
)
}