From 5b0ab53119794d4ea8a18e0202dfcb4c1e689aab Mon Sep 17 00:00:00 2001 From: Wolap Date: Wed, 28 Feb 2024 11:35:09 +0100 Subject: [PATCH] :sparkles: ADD user name not email for profil and chat --- frontend/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index eb2fa30..a08c280 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -57,7 +57,7 @@ function App() { const handleLogin = (email: string) => { - setUserEmail(email); + setUserEmail(email.split('@')[0]); setDisplayBtnLogin(false); }