diff --git a/src/home/authentication.ts b/src/home/authentication.ts index 2186d723..c110f705 100644 --- a/src/home/authentication.ts +++ b/src/home/authentication.ts @@ -11,7 +11,7 @@ export async function authentication() { return; } - const accessToken = getGitHubAccessToken(); + const accessToken = await getGitHubAccessToken(); if (!accessToken) { renderGitHubLoginButton(); }