plane/apps/space/app/layout.tsx

21 lines
487 B
TypeScript
Raw Normal View History

"use client";
2023-08-08 07:25:42 +00:00
// root styles
import "styles/globals.css";
// mobx store provider
import { MobxStoreProvider } from "lib/mobx/store-provider";
import MobxStoreInit from "lib/mobx/store-init";
2023-08-08 07:25:42 +00:00
const RootLayout = ({ children }: { children: React.ReactNode }) => (
<html lang="en">
<body className="antialiased w-100">
<MobxStoreProvider>
<MobxStoreInit />
<main>{children}</main>
</MobxStoreProvider>
2023-08-08 07:25:42 +00:00
</body>
</html>
);
export default RootLayout;