Skip to content

Commit

Permalink
Remove userName dependency from useEffect in AuthenticatedApp component
Browse files Browse the repository at this point in the history
  • Loading branch information
fwickert committed Nov 19, 2024
1 parent f9454e7 commit 2d43412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtualteachergenaidemo.client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function AuthenticatedApp(props: any) {
};

createUserIfNotExists();
}, [userName]);
}, []);

return (
<Router>
Expand Down

0 comments on commit 2d43412

Please sign in to comment.