diff --git a/src/home/getters/get-github-access-token.ts b/src/home/getters/get-github-access-token.ts index be8ce395..c0bdec51 100644 --- a/src/home/getters/get-github-access-token.ts +++ b/src/home/getters/get-github-access-token.ts @@ -7,6 +7,7 @@ export function getGitHubAccessToken(): string | null { if (expiresAt) { if (expiresAt < Date.now() / 1000) { localStorage.removeItem("sb-wfzpewmlyiozupulbuur-auth-token"); + return null; } }