Skip to content

Commit

Permalink
#57 Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraBergstrom committed Jul 5, 2023
1 parent 9d005a8 commit f16880b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const setTokenTimestamp = (data) => {
};

export const shouldRefreshToken = () => {
return !localStorage.getItem("refreshTokenTimestamp");
return !!localStorage.getItem("refreshTokenTimestamp");
};

export const removeTokenTimestamp = () => {
Expand Down

0 comments on commit f16880b

Please sign in to comment.