From 7d884330027a838eccdd1b6ff9c4f429a2d0917b Mon Sep 17 00:00:00 2001 From: HadiKhai <35467011+HadiKhai@users.noreply.github.com> Date: Thu, 3 Jun 2021 16:03:03 +0200 Subject: [PATCH] fix: restore the redicrectToSignIn function --- src/components/common/Authorization.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/common/Authorization.js b/src/components/common/Authorization.js index 58e84c946..e26fffc2a 100644 --- a/src/components/common/Authorization.js +++ b/src/components/common/Authorization.js @@ -23,8 +23,7 @@ const Authorization = () => (ChildComponent) => { // check authorization if (isError || !currentMember) { - // eslint-disable-next-line no-console - console.log(redirectToSignIn); + redirectToSignIn(); } // eslint-disable-next-line react/jsx-props-no-spreading