From 1ad189205b81ca9809e1107b1f4c8eec1e5a0448 Mon Sep 17 00:00:00 2001 From: zuies Date: Wed, 13 Dec 2023 18:11:09 +0300 Subject: [PATCH] update discord authorization failure flow --- src/pages/callback.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/callback.tsx b/src/pages/callback.tsx index a90afc22..71f5617c 100644 --- a/src/pages/callback.tsx +++ b/src/pages/callback.tsx @@ -116,7 +116,7 @@ function Callback() { case StatusCode.DISCORD_AUTHORIZATION_FAILURE: setMessage('Authorization failed. Please try again.'); - handleCreateNewPlatform(params); + router.push('/centric'); break; case StatusCode.DISCORD_AUTHORIZATION_FROM_SETTINGS: