try to do better

This commit is contained in:
arrelin
2026-01-29 15:17:54 +03:00
parent f00ddc7d10
commit 24f04a7e82
60 changed files with 5335 additions and 1254 deletions

View File

@@ -10,6 +10,7 @@ import Profile from './pages/Profile';
import { useStore } from './store/useStore';
import { authApi } from './api/client';
import { Loader2 } from 'lucide-react';
import { ErrorBoundary } from './components/ErrorBoundary';
function AppContent() {
const { t, i18n } = useTranslation();
@@ -89,9 +90,11 @@ function AppContent() {
function App() {
return (
<BrowserRouter>
<AppContent />
</BrowserRouter>
<ErrorBoundary>
<BrowserRouter>
<AppContent />
</BrowserRouter>
</ErrorBoundary>
);
}