* fix: nextjs slow compile time * fix: change optimized package imports and transpile packages * fix: format issue
15 lines
424 B
TypeScript
15 lines
424 B
TypeScript
import type { PropsWithChildren } from "react";
|
|
import { AppShellMain } from "@mantine/core";
|
|
|
|
import { MainHeader } from "~/components/layout/header";
|
|
import { ClientShell } from "~/components/layout/shell";
|
|
|
|
export default function MainLayout({ children }: PropsWithChildren) {
|
|
return (
|
|
<ClientShell hasNavigation={false}>
|
|
<MainHeader />
|
|
<AppShellMain>{children}</AppShellMain>
|
|
</ClientShell>
|
|
);
|
|
}
|