refactor(chat): extract profile onboarding and rectification surface hooks
Close the home-page split by moving account/onboarding and rectification glue out of page.tsx without relocating React state, keeping the route static and hook order intact. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -128,7 +128,7 @@ test("server profile failures pause automatic rectification resume", () => {
|
||||
);
|
||||
const incompleteHandler = page.slice(
|
||||
page.indexOf("function handleRectificationProfileIncomplete"),
|
||||
page.indexOf("async function draftSynastryQuestionFromChart"),
|
||||
page.indexOf("function handleRectificationMessagesChange"),
|
||||
);
|
||||
assert.match(resumeEffect, /\|\| rectificationError\) return/);
|
||||
assert.match(incompleteHandler, /setRectificationError\("profile_incomplete"\)/);
|
||||
|
||||
Reference in New Issue
Block a user