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
refactor: convert privacy update flag from ref to state
- Changed isUpdatingUserPrivacy from useRef to useState for better state management
- Updated Switch component to use state value directly for disabled prop
- Modified handleSwitchChange to use setState instead of mutating ref
- Ensures UI properly reflects loading state during privacy updates
0 commit comments