Skip to content

Commit

Permalink
🈂
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Nov 1, 2024
1 parent eac2132 commit 163fda4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/NotionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { type PageBlock } from 'notion-types'
import { formatDate, getBlockTitle, getPageProperty } from 'notion-utils'
import * as React from 'react'
import BodyClassName from 'react-body-classname'
import { NotionRenderer } from 'react-notion-x'
import { type NotionComponents, NotionRenderer } from 'react-notion-x'
import TweetEmbed from 'react-tweet-embed'
import { useSearchParam } from 'react-use'

Expand Down Expand Up @@ -150,9 +150,9 @@ export function NotionPage({
const router = useRouter()
const lite = useSearchParam('lite')

const components = React.useMemo(
const components = React.useMemo<Partial<NotionComponents>>(
() => ({
nextImage: Image,
nextLegacyImage: Image,
nextLink: Link,
Code,
Collection,
Expand Down

0 comments on commit 163fda4

Please sign in to comment.