import clsx from 'clsx'; import { useRef } from 'react'; import { IoArrowBack } from 'react-icons/io5'; import { useEnv } from '@/context/EnvContext'; import { useTranslation } from '@/hooks/useTranslation'; import { useTrafficLightStore } from '@/store/trafficLightStore'; import WindowButtons from '@/components/WindowButtons'; interface ProfileHeaderProps { onGoBack: () => void; } const ProfileHeader: React.FC = ({ onGoBack }) => { const _ = useTranslation(); const { appService } = useEnv(); const { isTrafficLightVisible } = useTrafficLightStore(); const headerRef = useRef(null); return (
{appService?.hasWindowBar && ( )}
); }; export default ProfileHeader;