_stackAuth global

This commit is contained in:
Stan Wohlwend 2024-07-26 15:23:13 -07:00
parent 650a47c72f
commit cbe82fb00d

View File

@ -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 }}>