From 1497d806f630d89ef1dda057874c64cc8b01bd09 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 12 Sep 2023 10:33:27 +0000 Subject: [PATCH] Code tidy-up --- src/pages/Signup.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/Signup.js b/src/pages/Signup.js index 8811c67..6ca4ef0 100644 --- a/src/pages/Signup.js +++ b/src/pages/Signup.js @@ -18,8 +18,7 @@ export function Signup ( props ) { if(username.length > 4) { console.log("longer than 4 characters") } - } - ) + }, [username] ) return (