Skip to content

Commit b51f7d8

Browse files
committed
fix: updated layout props
1 parent 765b669 commit b51f7d8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

app/layout.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
import { Metadata } from 'next';
21
import 'tailwindcss/tailwind.css';
2+
import { Metadata } from 'next';
3+
import type { CommonProps } from '@/lib/props';
34

45
export const metadata: Metadata = {
56
title: 'Next.js',
67
description: 'Generated by Next.js',
78
};
89

9-
interface RootLayoutProps {
10-
children?: React.ReactNode;
11-
}
10+
interface RootLayoutProps extends CommonProps {}
1211

1312
export default function RootLayout({ children }: RootLayoutProps) {
1413
return (

0 commit comments

Comments
 (0)