diff --git a/src/containers/OAuthWrapper.tsx b/src/containers/OAuthWrapper.tsx index e66065c..72a058b 100644 --- a/src/containers/OAuthWrapper.tsx +++ b/src/containers/OAuthWrapper.tsx @@ -59,7 +59,7 @@ async function getAccessTokenWithCode(code: string) { window.history.replaceState( {}, 'removed search param', - window.location.pathname.replace(window.location.search, search.toString()), + window.location.pathname.replace(window.location.search, '?' + search.toString()), ) return accessToken }