test(home): follow the profile hook's return through the signOut marker
The mount-once bootstrap effect keeps its literal `}, []);` dependency array: two existing contract tests use that exact text as a slicing landmark, so the effect stays as it was and its existing exhaustive-deps warning simply names two more stable setters. Only the signOut slice marker in chat-navigation-a11y-contract moves, with the three-column note; the assertion's subject is untouched. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JUei7K13cYxLHE3Axe4A45
This commit is contained in:
co-authored by
Claude Opus 5
parent
ae4573897a
commit
e6c6839742
@@ -1098,7 +1098,7 @@ export default function Home() {
|
||||
window.clearTimeout(bootstrapTimeout);
|
||||
controller.abort();
|
||||
};
|
||||
}, [setProfile, setProfileDraft]);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (!hydrated || uiPreview.current) return;
|
||||
|
||||
Reference in New Issue
Block a user