From 6917bf66a2855afd58ecc9c8e1a88cbc45e3297e Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Sat, 8 Jun 2024 15:19:20 -0300 Subject: [PATCH] add default profile pic --- src/frontend/src/components/headerComponent/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx index eb27a1482..7c094ca22 100644 --- a/src/frontend/src/components/headerComponent/index.tsx +++ b/src/frontend/src/components/headerComponent/index.tsx @@ -201,7 +201,7 @@ export default function Header(): JSX.Element { `${BACKEND_URL.slice( 0, BACKEND_URL.length - 1, - )}${BASE_URL_API}files/profile_pictures/${userData?.profile_image}` ?? + )}${BASE_URL_API}files/profile_pictures/${userData?.profile_image ?? "Space/046-rocket.png"}` ?? profileCircle } className="h-7 w-7 focus-visible:outline-0 "