@@ -6,24 +6,21 @@ import { useRouter } from 'next/router'
6
6
7
7
import cs from 'classnames'
8
8
import { PageBlock } from 'notion-types'
9
- // utils
10
9
import { formatDate , getBlockTitle , getPageProperty } from 'notion-utils'
11
10
import BodyClassName from 'react-body-classname'
12
- // core notion renderer
13
11
import { NotionRenderer } from 'react-notion-x'
14
12
import TweetEmbed from 'react-tweet-embed'
15
13
import { useSearchParam } from 'react-use'
16
14
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'
23
21
24
22
import { Footer } from './Footer'
25
23
import { GitHubShareButton } from './GitHubShareButton'
26
- // components
27
24
import { Loading } from './Loading'
28
25
import { NotionPageHeader } from './NotionPageHeader'
29
26
import { Page404 } from './Page404'
0 commit comments