You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/full/components/NotionPage.tsx
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
import*asReactfrom'react'
2
2
importdynamicfrom'next/dynamic'
3
3
importHeadfrom'next/head'
4
-
importImagefrom'next/image'
4
+
// import Image from 'next/image'
5
5
importLinkfrom'next/link'
6
6
import{useRouter}from'next/router'
7
7
@@ -153,7 +153,8 @@ export const NotionPage = ({
153
153
rootPageId={rootPageId}
154
154
previewImages={previewImagesEnabled}
155
155
components={{
156
-
nextImage: Image,
156
+
// NOTE (transitive-bullshit 3/12/2023): I'm disabling next/image for this repo for now because the amount of traffic started costing me hundreds of dollars a month in Vercel image optimization costs. I'll probably re-enable it in the future if I can find a better solution.
0 commit comments