fix(oracle-l6): close 2 actionable caveats
1. Approvals tenantId hydration race
loadQueue used to fall back to 'show all rows' when tenantId was
null. Now early-returns [] until tenantId hydrates, and the effect
depends on tenantId so it reloads once auth completes.
2. Settings persona quick-switch threw 'Password required'
signIn() in Settings called loginAs(email) without options.method.
Now explicit { method: 'dev' } so the documented dev-login path
is used.
This commit is contained in:
@@ -32,7 +32,7 @@ export default function Settings() {
|
||||
const signIn = async (email: string) => {
|
||||
setSigningIn(true);
|
||||
try {
|
||||
await loginAs(email);
|
||||
await loginAs(email, undefined, { method: "dev" });
|
||||
} finally {
|
||||
setSigningIn(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user