mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-06-02 07:26:45 +00:00
chore: update deps
This commit is contained in:
@@ -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} />
|
||||
}
|
||||
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user