This commit is contained in:
Iliyan Angelov
2025-11-19 12:27:01 +02:00
parent 2043ac897c
commit 34b4c969d4
469 changed files with 26870 additions and 8329 deletions

View File

@@ -15,6 +15,7 @@ import {
} from 'lucide-react';
import { useClickOutside } from '../../hooks/useClickOutside';
import { useCompanySettings } from '../../contexts/CompanySettingsContext';
import { normalizeImageUrl } from '../../utils/imageUtils';
interface HeaderProps {
isAuthenticated?: boolean;
@@ -209,7 +210,7 @@ const Header: React.FC<HeaderProps> = ({
>
{userInfo?.avatar ? (
<img
src={userInfo.avatar}
src={normalizeImageUrl(userInfo.avatar)}
alt={userInfo.name}
className="w-9 h-9 rounded-full
object-cover ring-2 ring-[#d4af37]/50"