diff --git a/frontend/src/routes/invite/index.tsx b/frontend/src/routes/invite/index.tsx index 2b3f17b4d75e5fb73199caaf4e7f46c3978da2d6..9acf2579611dd2b188d27037c95580415d115d50 100644 --- a/frontend/src/routes/invite/index.tsx +++ b/frontend/src/routes/invite/index.tsx @@ -105,7 +105,7 @@ function Invite() { // observed where the userinfo endpoint is called too fast // and no invite_id is found in the server-side session setTimeout(fetchUserInfo, 100) - }, [setTokenOk]) + }, [tokenOk]) if (user.auth) { return <ChooseRegistrationMethod />