From c7f73808212de8f5a760d24590656fc012bd0b5d Mon Sep 17 00:00:00 2001 From: Vladislav Khorev Date: Wed, 10 Apr 2024 21:03:40 +0000 Subject: [PATCH] moving profile photo to env and fix bug --- src/features/ProfileAvatar/ProfileAvatar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/features/ProfileAvatar/ProfileAvatar.tsx b/src/features/ProfileAvatar/ProfileAvatar.tsx index 53443f7..6b4d348 100644 --- a/src/features/ProfileAvatar/ProfileAvatar.tsx +++ b/src/features/ProfileAvatar/ProfileAvatar.tsx @@ -25,7 +25,7 @@ const ProfileAvatar: React.FC = ({ ); const [isDeleting, setIsDeleting] = useState(false); const [message, setMessage] = useState(false); - const def = process.env.PROFILE_AVATAR_URL; + const def = process.env.PROFILE_AVATAR_URLL as string; const [success, setSuccess] = useState("");