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
- Added `Spinner` component
- Updated `Button` component to support `isLoading` prop
- Implemented loading state in `Auth` page for login and signup forms
- Improves UX by preventing multiple submissions and providing visual feedback
**Learning:** Users often click submit multiple times on authentication forms if there's no immediate visual feedback, causing race conditions or frustration.
5
+
**Action:** Always add a loading spinner and disable the button immediately upon submission for async auth operations.
0 commit comments