Skip to content

Commit 9195401

Browse files
surajmototaclaude
andauthored
Create Contact and update contact screens issues( Not Loading) (#470)
* fix(contact): migrate to react router v6 and improve hooks usage - Replace history.push with useNavigate in contact detail screen - Use useLocation hook instead of location prop - Refactor addressComponent to use useWatch for reactive form values - Add useMemo for contactActions to prevent unnecessary re-creation - Fix state clearing to only trigger on actual country changes - Add .jsx extension to import for explicit module resolution 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * fix(test): use react router v6 navigate mock in detail contact test the component was migrated to react router v6 which uses the useNavigate hook instead of history.push. Updated the test to check mockNavigate instead of mockHistory.push. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 94b8958 commit 9195401

5 files changed

Lines changed: 883 additions & 46 deletions

File tree

0 commit comments

Comments
 (0)