diff --git a/admin/src/App.tsx b/admin/src/App.tsx index 672c9ac..cfd4c59 100644 --- a/admin/src/App.tsx +++ b/admin/src/App.tsx @@ -1,5 +1,6 @@ import { useEffect } from 'react'; import { Routes, Route, Navigate } from 'react-router-dom'; +import { useTranslation } from 'react-i18next'; import { useAuth } from './store/auth'; import Layout from './components/Layout'; import Login from './pages/Login'; @@ -23,6 +24,7 @@ import Logs from './pages/Logs'; import VerificationsList, { VerificationDetail } from './pages/Verifications'; export default function App() { + const { t } = useTranslation(); const { user, ready, init } = useAuth(); useEffect(() => { @@ -30,7 +32,9 @@ export default function App() { }, [init]); if (!ready) { - return
Format kodu: 00-001
+{t('address.postalFormatError')}
)}