with helper funtion

This commit is contained in:
Abin Toppo
2025-09-19 13:39:04 +05:30
parent 4de484c0a5
commit d4a1866f34
8 changed files with 314 additions and 316 deletions
+1 -1
View File
@@ -288,7 +288,7 @@ const Profile = () => {
console.log("user image :", user?.filePath);
const getProfileImage = () => {
if (user?.imageBlob) {
return `data:image/jpeg;base64,${user.imageBlob}`;
return `data:image/jpeg;base64,${user.imageBlob}`;
}
if (user?.filePath) {
return user.filePath;