diff --git a/src/components/common/Logo.tsx b/src/components/common/Logo.tsx index efbb418..f974f44 100644 --- a/src/components/common/Logo.tsx +++ b/src/components/common/Logo.tsx @@ -4,25 +4,32 @@ * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-SEL */ +import { useState, useEffect } from 'react'; import { useTranslation } from 'react-i18next'; import { getApiBaseUrl } from '@/services/api'; export function DefaultLogo() { - const { t } = useTranslation() - + const { t } = useTranslation(); return ( - {t('logo.alt', - ) + + + + + ); } export default function Logo() { -<<<<<<< HEAD - return -======= const { t } = useTranslation(); const [logoUrl, setLogoUrl] = useState(null); const [failed, setFailed] = useState(false); @@ -75,5 +82,4 @@ export default function Logo() { } return ; ->>>>>>> upstream/main }