This commit is contained in:
tangly1024
2022-03-17 10:10:36 +08:00
parent 0baafe474e
commit 3210422d95

View File

@@ -3,7 +3,6 @@ import BLOG from '@/blog.config'
import ReactDOMServer from 'react-dom/server'
import { NotionRenderer, Equation, Code, Collection, CollectionRow } from 'react-notion-x'
import { getPostBlocks } from './notion'
import { useRouter } from 'next/router'
const mapPageUrl = id => 'https://www.notion.so/' + id.replace(/-/g, '')