forked from Transparency/kgroad-frontend2
moving profile photo to env
This commit is contained in:
parent
ffe8c84d3d
commit
57fab57b9d
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user