diff --git a/app/studio/[[...index]]/page.tsx b/app/studio/[[...index]]/page.tsx index ad545d4c..90272ea4 100644 --- a/app/studio/[[...index]]/page.tsx +++ b/app/studio/[[...index]]/page.tsx @@ -11,8 +11,7 @@ import Studio from './Studio' export const dynamic = 'force-static' -export { metadata } from 'next-sanity/studio/metadata' -export { viewport } from 'next-sanity/studio/viewport' +export { metadata, viewport } from 'next-sanity/studio' export default function StudioPage() { return diff --git a/package-lock.json b/package-lock.json index 271df862..b67e1d1e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,7 @@ "classnames": "2.5.1", "date-fns": "2.30.0", "next": "14.1.0", - "next-sanity": "7.1.4", + "next-sanity": "8.0.0", "react": "18.2.0", "react-dom": "18.2.0", "sanity": "3.28.0", @@ -7004,9 +7004,9 @@ } }, "node_modules/next-sanity": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/next-sanity/-/next-sanity-7.1.4.tgz", - "integrity": "sha512-bq/VkejvPgV95mi5fxR01rALG1QURe0nO2g3HyUuiZRyTd0teFgYvCVf1b5PBndKhD15Cd3UK/WwcLKRxxEr3A==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/next-sanity/-/next-sanity-8.0.0.tgz", + "integrity": "sha512-XT6PTXvivwqUZ7q7qMr+aptyyzXs0MiDIlRLusYlYHsdBrW4iEwfWYNwUqB1r9csczjeEk02X4MxMayrg47Vjg==", "dependencies": { "@sanity/client": "^6.12.4", "@sanity/preview-kit": "5.0.20", diff --git a/package.json b/package.json index 763641b0..30b261de 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "classnames": "2.5.1", "date-fns": "2.30.0", "next": "14.1.0", - "next-sanity": "7.1.4", + "next-sanity": "8.0.0", "react": "18.2.0", "react-dom": "18.2.0", "sanity": "3.28.0",