diff --git a/pairent_frontend_react/src/App.jsx b/pairent_frontend_react/src/App.jsx index 38725c4..5475910 100644 --- a/pairent_frontend_react/src/App.jsx +++ b/pairent_frontend_react/src/App.jsx @@ -1,9 +1,9 @@ import React from 'react'; import { BrowserRouter } from 'react-router-dom'; -import Header from './components/Header/Header'; -import AppRouter from './components/AppRouter/AppRouter'; -import Footer from './components/Footer/Footer'; +import Header from './components/Header'; +import AppRouter from './components/AppRouter'; +import Footer from './components/Footer'; import './App.css'; diff --git a/pairent_frontend_react/src/components/AppRouter/AppRouter.jsx b/pairent_frontend_react/src/components/AppRouter/index.jsx similarity index 100% rename from pairent_frontend_react/src/components/AppRouter/AppRouter.jsx rename to pairent_frontend_react/src/components/AppRouter/index.jsx diff --git a/pairent_frontend_react/src/components/CardApartament/CardApartament.jsx b/pairent_frontend_react/src/components/CardApartament/index.jsx similarity index 100% rename from pairent_frontend_react/src/components/CardApartament/CardApartament.jsx rename to pairent_frontend_react/src/components/CardApartament/index.jsx diff --git a/pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx b/pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx index 31e1536..fa44cba 100644 --- a/pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx +++ b/pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx @@ -3,8 +3,8 @@ import ApartamentService from '../../API/ApartamentService'; import {useFetching} from '../../hooks/useFetching'; import {getPageCount} from '../../utils/Pages'; -import CardApartament from '../CardApartament/CardApartament'; -import Pagination from '../UI/Pagination/Pagination'; +import CardApartament from '../CardApartament'; +import Pagination from '../UI/Pagination'; const FavoritesApartamentsList = () => { const [apartamentsFavorites, setApartamentsFavorites] = useState([]) diff --git a/pairent_frontend_react/src/components/Footer/Footer.jsx b/pairent_frontend_react/src/components/Footer/index.jsx similarity index 100% rename from pairent_frontend_react/src/components/Footer/Footer.jsx rename to pairent_frontend_react/src/components/Footer/index.jsx diff --git a/pairent_frontend_react/src/components/Header/Header.jsx b/pairent_frontend_react/src/components/Header/index.jsx similarity index 100% rename from pairent_frontend_react/src/components/Header/Header.jsx rename to pairent_frontend_react/src/components/Header/index.jsx diff --git a/pairent_frontend_react/src/components/UI/Pagination/Pagination.jsx b/pairent_frontend_react/src/components/UI/Pagination/index.jsx similarity index 100% rename from pairent_frontend_react/src/components/UI/Pagination/Pagination.jsx rename to pairent_frontend_react/src/components/UI/Pagination/index.jsx