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 [message, setMessage] = useState<boolean>(false); | ||||
|   const def = | ||||
|     "https://api.kgroad.org/media/user_photo/default.webp"; | ||||
|   const def = process.env.PROFILE_AVATAR_URL; | ||||
| 
 | ||||
| 
 | ||||
|   const [success, setSuccess] = useState<string>(""); | ||||
|   const [loader, setLoader] = useState<boolean>(false); | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user