From c92a105686702fa4c29484af0bacedc65b4c054f Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 7 Oct 2021 01:56:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Remove=20unnecessary=20dependenc?= =?UTF-8?q?ies=20from=20canLogin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/authorization/AuthorizationLoginBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/authorization/AuthorizationLoginBox.tsx b/frontend/src/components/authorization/AuthorizationLoginBox.tsx index afbc02d..69083fb 100644 --- a/frontend/src/components/authorization/AuthorizationLoginBox.tsx +++ b/frontend/src/components/authorization/AuthorizationLoginBox.tsx @@ -23,7 +23,7 @@ export function AuthorizationLoginBox(): JSX.Element { () => ( axios !== undefined && authorization !== undefined && authorization.state.token === undefined ), - [axios, authorization, username, password], + [axios, authorization], ) const canClickLogin =