mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
17 lines
376 B
TypeScript
17 lines
376 B
TypeScript
const { StackProvider, StackTheme } = require("@stackframe/stack");
|
|
const { stackServerApp } = require("../stack");
|
|
require("./globals.css");
|
|
|
|
|
|
function RootLayout({
|
|
children,
|
|
}: any) {
|
|
return (
|
|
<html lang="en">
|
|
<body><StackProvider app={stackServerApp}><StackTheme>{children}</StackTheme></StackProvider></body>
|
|
</html>
|
|
);
|
|
}
|
|
|
|
module.exports = RootLayout;
|