Skip to content

Commit

Permalink
fix(example): next 13 with app router (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
Algram authored Sep 6, 2023
1 parent 36cbafd commit 40f5486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/next-13-app-router-graphql/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import { draftMode } from 'next/headers';
import './globals.css';
import { Providers } from './providers';
import '@contentful/live-preview/style.css';

const inter = Inter({ subsets: ['latin'] });

Expand Down
6 changes: 2 additions & 4 deletions examples/next-13-app-router-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"prepare": "relative-deps"
"lint": "next lint"
},
"dependencies": {
"@contentful/live-preview": "^2.4.6",
"@contentful/visual-sdk": "^1.0.0-alpha.11",
"@contentful/live-preview": "^2.9.5",
"@types/node": "20.5.0",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
Expand Down

0 comments on commit 40f5486

Please sign in to comment.