diff --git a/app/dashboard/components/discord.tsx b/app/dashboard/components/discord.tsx index 8c38302..d2549cf 100644 --- a/app/dashboard/components/discord.tsx +++ b/app/dashboard/components/discord.tsx @@ -21,11 +21,9 @@ export default function DiscordAuth(props: { const router = useRouter(); const getOAuth = async () => { - if (!discordAuth) { - console.log('REDIRECT TO AUTH'); - const Oauth = await getOAuthUrl(); - router.push(Oauth.url); - } + console.log('REDIRECT TO AUTH'); + const Oauth = await getOAuthUrl(); + router.push(Oauth.url); }; const setHackRU = async () => {