Upgrade to newest santity with presentation tool #1691
Annotations
10 errors
build:
app/api/revalidate/route.ts#L29
Cannot find module '~/lib/sanity/lib/api' or its corresponding type declarations.
|
build:
components/pages/home/index.tsx#L26
Type 'unknown' is not assignable to type 'Key | null | undefined'.
|
build:
components/pages/home/preview.tsx#L23
Type 'PageWithPosts | null | undefined' is not assignable to type '{ page: Page; posts: Post[]; }'.
|
build:
components/pages/page-layout.tsx#L22
Type 'unknown' is not assignable to type 'Key | null | undefined'.
|
build:
components/pages/post-page-layout.tsx#L26
Type 'unknown' is not assignable to type 'Key | null | undefined'.
|
build:
components/previews/index.ts#L1
Cannot find module './index-page-preview' or its corresponding type declarations.
|
build:
components/previews/page-preview.tsx#L6
Module '"next-sanity/preview"' has no exported member 'UsePreview'. Did you mean to use 'import UsePreview from "next-sanity/preview"' instead?
|
build:
components/previews/post-preview.tsx#L6
Module '"next-sanity/preview"' has no exported member 'UsePreview'. Did you mean to use 'import UsePreview from "next-sanity/preview"' instead?
|
build:
components/previews/preview-provider.tsx#L4
Cannot find module 'suspend-react' or its corresponding type declarations.
|
build:
components/previews/preview-provider.tsx#L12
Cannot find module 'lib/sanity.client' or its corresponding type declarations.
|