We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30cbc8f commit be83fd8Copy full SHA for be83fd8
src/app/layout.tsx
@@ -1,10 +1,10 @@
1
-import { ReactElement } from 'react';
+import type { ReactNode } from 'react';
2
3
type Props = {
4
- children: ReactElement;
+ children: ReactNode;
5
};
6
7
-const RootLayout = (props: Props): ReactElement => {
+const RootLayout = (props: Props): ReactNode => {
8
const { children } = props;
9
10
return children;
0 commit comments