diff --git a/src/App.tsx b/src/App.tsx index cf0d763..62c1d9a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -27,7 +27,7 @@ function App() { deleteStateCookie(state) window.history.replaceState({}, document.title, '/') } - }, [tokens]) + }, [tokens, codeVerifier, state]) const status = state && code && codeVerifier ? [ `state: ${state}`,