Skip to content

Commit 5b0f093

Browse files
maximthomasCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5237f10 commit 5b0f093

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • openam-ui/openam-ui-js-sdk/src/lib

openam-ui/openam-ui-js-sdk/src/lib/User.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const User: React.FC<UserProps> = ({ userService }) => {
4242
setUserAuthData(newUserAuthData);
4343
}
4444
initAuth();
45-
}, [])
45+
}, [userService, navigate])
4646

4747
useEffect(() => {
4848
if(!userAuthData) {

0 commit comments

Comments
 (0)