From 634b9cba65249ee059570b95af6568a529b9f516 Mon Sep 17 00:00:00 2001 From: d_yanis Date: Tue, 13 Feb 2024 16:31:46 +0100 Subject: [PATCH] Fix image problem --- front/views/Settings.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/front/views/Settings.tsx b/front/views/Settings.tsx index 29d145d..b1d13e3 100644 --- a/front/views/Settings.tsx +++ b/front/views/Settings.tsx @@ -66,14 +66,14 @@ function ProfilSettings({ user }: { user: User }) { const nameRef = useRef(null); const emailRef = useRef(null); - const size = "171x180"; - const profilePicture = user.profilePicture + "/" + size; + const width = 140; + const profilePicture = user.profilePicture; console.log("profile :" + profilePicture); return ( - +