Skip to content

Commit 00d9fbe

Browse files
committed
cleanup
1 parent 1c5273e commit 00d9fbe

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed
Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import AppLayoutTemplate from '@/layouts/app/app-sidebar-layout';
22

3-
export default function AppLayout({
4-
children,
5-
...props // Collect all other props passed to this component
6-
}: {
7-
children: React.ReactNode;
8-
}) {
9-
return <AppLayoutTemplate {...props}>{children}</AppLayoutTemplate>;
10-
}
3+
export default ({ children, ...props }: { children: React.ReactNode }) => (
4+
5+
<AppLayoutTemplate {...props}>{children}</AppLayoutTemplate>
6+
7+
);

0 commit comments

Comments
 (0)