Skip to content

Commit 6493adc

Browse files
feat: disable next/image for full example due to vercel costs
1 parent 2a48b29 commit 6493adc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/full/components/NotionPage.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react'
22
import dynamic from 'next/dynamic'
33
import Head from 'next/head'
4-
import Image from 'next/image'
4+
// import Image from 'next/image'
55
import Link from 'next/link'
66
import { useRouter } from 'next/router'
77

@@ -153,7 +153,8 @@ export const NotionPage = ({
153153
rootPageId={rootPageId}
154154
previewImages={previewImagesEnabled}
155155
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.
157+
// nextImage: Image,
157158
nextLink: Link,
158159
Code,
159160
Collection,

0 commit comments

Comments
 (0)