diff --git a/pairent_frontend_react/src/components/CardSmallApartament/CardSmallApartament.jsx b/pairent_frontend_react/src/components/CardSmallApartament/index.jsx similarity index 100% rename from pairent_frontend_react/src/components/CardSmallApartament/CardSmallApartament.jsx rename to pairent_frontend_react/src/components/CardSmallApartament/index.jsx diff --git a/pairent_frontend_react/src/components/FavoritesApartamentsList/FavoritesApartamentsList.jsx b/pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx similarity index 100% rename from pairent_frontend_react/src/components/FavoritesApartamentsList/FavoritesApartamentsList.jsx rename to pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx diff --git a/pairent_frontend_react/src/components/LastView/LastView.jsx b/pairent_frontend_react/src/components/LastView/index.jsx similarity index 98% rename from pairent_frontend_react/src/components/LastView/LastView.jsx rename to pairent_frontend_react/src/components/LastView/index.jsx index d956dff..cb629db 100644 --- a/pairent_frontend_react/src/components/LastView/LastView.jsx +++ b/pairent_frontend_react/src/components/LastView/index.jsx @@ -3,7 +3,7 @@ import ApartamentService from '../../API/ApartamentService'; import {useFetching} from '../../hooks/useFetching'; import {getPageCount, getPagesArray} from '../../utils/Pages'; -import CardSmallApartament from '../../components/CardSmallApartament/CardSmallApartament'; +import CardSmallApartament from '../../components/CardSmallApartament'; import './styles/LastView.css'; diff --git a/pairent_frontend_react/src/pages/Favorites/Favorites.jsx b/pairent_frontend_react/src/pages/Favorites/Favorites.jsx index f356879..cafb97d 100644 --- a/pairent_frontend_react/src/pages/Favorites/Favorites.jsx +++ b/pairent_frontend_react/src/pages/Favorites/Favorites.jsx @@ -1,7 +1,7 @@ import React from 'react'; -import FavoritesApartamentsList from '../../components/FavoritesApartamentsList/FavoritesApartamentsList'; -import LastView from '../../components/LastView/LastView'; +import FavoritesApartamentsList from '../../components/FavoritesApartamentsList'; +import LastView from '../../components/LastView'; import './styles/Favorites.css';