Skip to content

Commit d087c39

Browse files
committed
turbo working
1 parent 4b6d546 commit d087c39

5 files changed

Lines changed: 12 additions & 2 deletions

File tree

app/(sanity)/layout.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
import "../globals.css";
22

3+
import type { Metadata } from "next";
34
import { Inter } from "next/font/google";
5+
import { metadata as studioMetadata, viewport } from "next-sanity/studio";
46

57
const inter = Inter({
68
variable: "--font-inter",
79
subsets: ["latin"],
810
display: "swap",
911
});
1012

11-
export { metadata, viewport } from "next-sanity/studio";
13+
export { viewport };
14+
15+
export const metadata: Metadata = {
16+
...studioMetadata,
17+
icons: {
18+
icon: "/sanity-icons/icon.ico",
19+
apple: "/sanity-icons/apple-icon.png",
20+
},
21+
};
1222

1323
export default function RootLayout({
1424
children,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"scripts": {
44
"dev": "next dev --turbo",
5-
"build": "next build --webpack",
5+
"build": "next build",
66
"start": "next start",
77
"lint": "biome check .",
88
"predev": "npm run typegen",

0 commit comments

Comments
 (0)