Commit 049ed57
committed
fix: prevent unnecessary user object updates causing infinite loops
Uses lodash-es isEqual for deep equality comparison to check if user
content has changed, preventing unnecessary state updates and infinite
loops in useEffect hooks.
Changes:
- Added lodash-es dependency for deep equality checking
- Updated GET_ACCESS_TOKEN_COMPLETE and HANDLE_REDIRECT_COMPLETE cases
- State only updates when user content actually changes
Fixes #7871 parent f244784 commit 049ed57
3 files changed
+165
-209
lines changed
0 commit comments