From 1b484bafc77454eaf9fe4f69a252bf60db45166e Mon Sep 17 00:00:00 2001 From: Farber Denis Date: Thu, 25 Aug 2022 10:33:51 +0300 Subject: [PATCH] fix(#fix): redirect fix --- src/features/App/index.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/features/App/index.tsx b/src/features/App/index.tsx index 2c0bdefd..5c159594 100644 --- a/src/features/App/index.tsx +++ b/src/features/App/index.tsx @@ -28,6 +28,9 @@ const Main = () => { if (!user && isMatchPage()) return if (!user && isMatchPageRFEF()) return + if (user && isMatchPageRFEF()) { + window.location.href = 'https://instat.tv/football/tournaments/131' + } // юзер считывается из localstorage или // access_token токен истек и запрашивается новый if (loadingUser || user?.expired) return null