global refactoring

This commit is contained in:
SlimusMinus
2026-06-02 01:10:56 +03:00
parent b53207166b
commit fbdcada3d2
26 changed files with 738 additions and 559 deletions

View File

@@ -1,6 +1,6 @@
import { BrowserRouter, Routes, Route, Navigate } from 'react-router-dom';
import RegisterPage from './pages/AuthPage';
import FeedPage from './pages/FeedPage'; // ← добавь импорт
import RegisterPage from './components/Authentication';
import MainFeed from './components/MainFeed'; // ← добавь импорт
function App() {
return (
@@ -9,7 +9,7 @@ function App() {
<Route path="/" element={<Navigate to="/feed" replace />} />
<Route path="/register" element={<RegisterPage />} />
<Route path="/feed" element={<FeedPage />} />
<Route path="/feed" element={<MainFeed />} />
</Routes>
</BrowserRouter>
);