mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
_stackAuth global
This commit is contained in:
parent
650a47c72f
commit
cbe82fb00d
@ -17,9 +17,7 @@ export function StackProviderClient(props: {
|
||||
const appJson = props.appJson;
|
||||
const app = StackClientApp[stackAppInternalsSymbol].fromClientJson(appJson);
|
||||
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
globalVar.stackApp = app;
|
||||
}
|
||||
globalVar._stackAuth = { app };
|
||||
|
||||
return (
|
||||
<StackContext.Provider value={{ app }}>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user