Skip to content

Commit be83fd8

Browse files
committed
fix: layout types
1 parent 30cbc8f commit be83fd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/app/layout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { ReactElement } from 'react';
1+
import type { ReactNode } from 'react';
22

33
type Props = {
4-
children: ReactElement;
4+
children: ReactNode;
55
};
66

7-
const RootLayout = (props: Props): ReactElement => {
7+
const RootLayout = (props: Props): ReactNode => {
88
const { children } = props;
99

1010
return children;

0 commit comments

Comments
 (0)