@@ -6,24 +6,21 @@ import { useRouter } from 'next/router'
66
77import cs from 'classnames'
88import { PageBlock } from 'notion-types'
9- // utils
109import { formatDate , getBlockTitle , getPageProperty } from 'notion-utils'
1110import BodyClassName from 'react-body-classname'
12- // core notion renderer
1311import { NotionRenderer } from 'react-notion-x'
1412import TweetEmbed from 'react-tweet-embed'
1513import { useSearchParam } from 'react-use'
1614
17- import * as config from 'lib/config'
18- import * as types from 'lib/types'
19- import { mapImageUrl } from 'lib/map-image-url'
20- import { getCanonicalPageUrl , mapPageUrl } from 'lib/map-page-url'
21- import { searchNotion } from 'lib/search-notion'
22- import { useDarkMode } from 'lib/use-dark-mode'
15+ import * as config from '@/ lib/config'
16+ import * as types from '@/ lib/types'
17+ import { mapImageUrl } from '@/ lib/map-image-url'
18+ import { getCanonicalPageUrl , mapPageUrl } from '@/ lib/map-page-url'
19+ import { searchNotion } from '@/ lib/search-notion'
20+ import { useDarkMode } from '@/ lib/use-dark-mode'
2321
2422import { Footer } from './Footer'
2523import { GitHubShareButton } from './GitHubShareButton'
26- // components
2724import { Loading } from './Loading'
2825import { NotionPageHeader } from './NotionPageHeader'
2926import { Page404 } from './Page404'
0 commit comments