You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
Deepak Pandey
committed
fix: Address CodeRabbit feedback for OAuth profile completion
- Fix debounce implementation using useRef for proper timeout management
- Normalize username input by trimming before availability checks
- Set usernameAvailable to null on network errors instead of false
- Use upsert instead of update to handle missing profile rows
- Add proper error handling and data validation for profile updates
- Add cleanup effect to clear timeout on component unmount
Improves robustness and reliability of the profile completion flow.
0 commit comments