moving profile photo to env

This commit is contained in:
Vladislav Khorev 2024-04-10 20:59:20 +00:00
parent ffe8c84d3d
commit 57fab57b9d

View File

@ -25,8 +25,8 @@ const ProfileAvatar: React.FC<IProfileAvatarProps> = ({
); );
const [isDeleting, setIsDeleting] = useState<boolean>(false); const [isDeleting, setIsDeleting] = useState<boolean>(false);
const [message, setMessage] = useState<boolean>(false); const [message, setMessage] = useState<boolean>(false);
const def = const def = process.env.PROFILE_AVATAR_URL;
"https://api.kgroad.org/media/user_photo/default.webp";
const [success, setSuccess] = useState<string>(""); const [success, setSuccess] = useState<string>("");
const [loader, setLoader] = useState<boolean>(false); const [loader, setLoader] = useState<boolean>(false);