Skip to content

Commit

Permalink
Merge pull request #184 from SCCapstone/bugFix
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
epadams authored Dec 9, 2023
2 parents 51de821 + 6b36570 commit 1d7dd82
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions FU.SPA/src/context/userProvider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const UserProvider = ({ children }) => {
};

fetchCurrentUser();
if (user) {
startConnection();
}
}, [token]);

const login = (newToken) => {
Expand Down

0 comments on commit 1d7dd82

Please sign in to comment.