Skip to content

Commit

Permalink
chore(example): remove dead code from app router example
Browse files Browse the repository at this point in the history
  • Loading branch information
mudetroit committed Oct 24, 2024
1 parent 664b10e commit d1bf3b1
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions examples/nextjs-approuter/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
import type { Metadata } from "next";
import localFont from "next/font/local";
import type { Metadata } from 'next';
import localFont from 'next/font/local';

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

import "./globals.css";
import './globals.css';

const geistSans = localFont({
src: "./fonts/GeistVF.woff",
variable: "--font-geist-sans",
weight: "100 900",
src: './fonts/GeistVF.woff',
variable: '--font-geist-sans',
weight: '100 900',
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
weight: "100 900",
src: './fonts/GeistMonoVF.woff',
variable: '--font-geist-mono',
weight: '100 900',
});

export const metadata: Metadata = {
title: "Create Next App",
description: "Generated by create next app",
title: 'Create Next App',
description: 'Generated by create next app',
};

export default async function RootLayout({
Expand All @@ -34,7 +34,6 @@ export default async function RootLayout({
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
{children}
{Array.isArray(posts) && <span>Found some posts</span>}
</body>
</html>
</RollbarProvider>
Expand Down

0 comments on commit d1bf3b1

Please sign in to comment.