Skip to content

Commit d1bf3b1

Browse files
committed
chore(example): remove dead code from app router example
1 parent 664b10e commit d1bf3b1

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

examples/nextjs-approuter/src/app/layout.tsx

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
import type { Metadata } from "next";
2-
import localFont from "next/font/local";
1+
import type { Metadata } from 'next';
2+
import localFont from 'next/font/local';
33

44
import { Provider as RollbarProvider } from '@rollbar/react';
55
import { clientConfig } from '@/rollbar';
66

7-
import "./globals.css";
7+
import './globals.css';
88

99
const geistSans = localFont({
10-
src: "./fonts/GeistVF.woff",
11-
variable: "--font-geist-sans",
12-
weight: "100 900",
10+
src: './fonts/GeistVF.woff',
11+
variable: '--font-geist-sans',
12+
weight: '100 900',
1313
});
1414
const geistMono = localFont({
15-
src: "./fonts/GeistMonoVF.woff",
16-
variable: "--font-geist-mono",
17-
weight: "100 900",
15+
src: './fonts/GeistMonoVF.woff',
16+
variable: '--font-geist-mono',
17+
weight: '100 900',
1818
});
1919

2020
export const metadata: Metadata = {
21-
title: "Create Next App",
22-
description: "Generated by create next app",
21+
title: 'Create Next App',
22+
description: 'Generated by create next app',
2323
};
2424

2525
export default async function RootLayout({
@@ -34,7 +34,6 @@ export default async function RootLayout({
3434
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
3535
>
3636
{children}
37-
{Array.isArray(posts) && <span>Found some posts</span>}
3837
</body>
3938
</html>
4039
</RollbarProvider>

0 commit comments

Comments
 (0)