Rank 1: Thread
Does someone know why do i get this error when i try to load images on the deployed version on vercel, locally there is no errors, is there anything wrong with my code or it's a vercels problem ```const ImageUploadComponent = async () => {
noStore();
const user = await getLoggedInUser();
const currentLoggedInUser = await getSavedUser(user?.$id);
const fileId = await currentLoggedInUser?.profileImage;
const userProileImage = fileId ? await getProfileImage(fileId) : null;
const currentImage = fileId
? new Buffer.from(userProileImage).toString("base64")
: null;
return (
{/* Photo de profile */}
{userProileImage && (
)}
<AvatarComponent fileId={fileId} />
{/* )} */}
</div>
</div>
</section>
);
};
export default ImageUploadComponent;