global refactoring
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user