new in new brach

This commit is contained in:
Vladislav Khorev committed 2024-10-30 13:06:46 +00:00
1 parent 59e7b48193
commit 154441b850
4 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -160,7 +160,7 @@ const ProfileAvatar: React.FC<IProfileAvatarProps> = ({
alt="User image"
/>
<div className="flex items-center gap-2">
{img === def && display_image === def ? (
{typeof def === 'string' && img === def && display_image === def ? (
<>
<label
className="min-w-[110px] py-2 px-4 mt-6 flex items-center justify-center text-[14px] font-semibold leading-5 rounded-sm cursor-pointer"