moving profile photo to env and fix bug

This commit is contained in:
Vladislav Khorev 2024-04-10 21:03:40 +00:00
parent 57fab57b9d
commit c7f7380821

View File

@ -25,7 +25,7 @@ const ProfileAvatar: React.FC<IProfileAvatarProps> = ({
);
const [isDeleting, setIsDeleting] = useState<boolean>(false);
const [message, setMessage] = useState<boolean>(false);
const def = process.env.PROFILE_AVATAR_URL;
const def = process.env.PROFILE_AVATAR_URLL as string;
const [success, setSuccess] = useState<string>("");