Commit 4e28ab0
committed
refactor(cli): extract login URL fetching into custom hook
- Created use-fetch-login-url hook to encapsulate mutation logic
- Simplified LoginModal component by removing inline useMutation
- Fixed dependency arrays for callbacks
- Replaced useMemo for fingerprint ID with useState
- Removed unnecessary fragment wrapper
- Improves code organization and readability1 parent 042b703 commit 4e28ab0
2 files changed
Lines changed: 329 additions & 385 deletions
0 commit comments