Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumping dependencies #225

Merged
merged 18 commits into from
Jun 13, 2023
Prev Previous commit
Next Next commit
wip
  • Loading branch information
jaesivsm committed Jun 13, 2023
commit 34a163d6389235d92e460c7efaab4c6575e1b881
2 changes: 1 addition & 1 deletion jsclient/src/authSlice.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const authSlice = createSlice({
tokenAcquired: (state, action) => {
const accessToken = action.payload.data["access_token"];
const refreshToken = action.payload.data["refresh_token"];
if (!!refreshToken) {
if (refreshToken) {
storageSet("refreshToken", refreshToken, "local");
return { ...state, accessToken, refreshedAt: new Date().getTime() };
} else {
Expand Down