mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Step 5: rename lowercase local vars stackApp/stackServerApp/stackClientApp/ stackAdminApp -> hexclave* across SDK source, apps, examples, and docs-mintlify (docs/ excluded). Public StackServerApp/StackClientApp classes and the useStackApp hook are unchanged. typecheck + lint green.
17 lines
382 B
TypeScript
17 lines
382 B
TypeScript
const { StackProvider, StackTheme } = require("@hexclave/next");
|
|
const { hexclaveServerApp } = require("../hexclave");
|
|
require("./globals.css");
|
|
|
|
|
|
function RootLayout({
|
|
children,
|
|
}: any) {
|
|
return (
|
|
<html lang="en">
|
|
<body><StackProvider app={hexclaveServerApp}><StackTheme>{children}</StackTheme></StackProvider></body>
|
|
</html>
|
|
);
|
|
}
|
|
|
|
module.exports = RootLayout;
|