mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
fixed render order bug
This commit is contained in:
parent
1c93fe13ae
commit
6a0114c431
@ -551,8 +551,9 @@ class _StackClientAppImpl<HasTokenStore extends boolean, ProjectId extends strin
|
||||
case 'throw': {
|
||||
throw new Error("User is not signed in but useUser was called with { or: 'throw' }");
|
||||
}
|
||||
default: {
|
||||
return null;
|
||||
case undefined:
|
||||
case "return-null": {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user