diff --git a/pairent_frontend_react/src/components/ApartmentsList/index.jsx b/pairent_frontend_react/src/components/ApartmentsList/index.jsx
index 779dbdb..db9d2b9 100644
--- a/pairent_frontend_react/src/components/ApartmentsList/index.jsx
+++ b/pairent_frontend_react/src/components/ApartmentsList/index.jsx
@@ -9,7 +9,6 @@ import CardApartment from '../CardApartament';
*/
export default function ApartmentsList(props) {
const list = props.list;
- console.log(list);
return (
diff --git a/pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx b/pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx
index fa44cba..f6efed5 100644
--- a/pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx
+++ b/pairent_frontend_react/src/components/FavoritesApartamentsList/index.jsx
@@ -1,9 +1,9 @@
import React, { useEffect, useState } from 'react';
import ApartamentService from '../../API/ApartamentService';
+import ApartmentsList from '../ApartmentsList';
import {useFetching} from '../../hooks/useFetching';
import {getPageCount} from '../../utils/Pages';
-import CardApartament from '../CardApartament';
import Pagination from '../UI/Pagination';
const FavoritesApartamentsList = () => {
@@ -51,12 +51,7 @@ const FavoritesApartamentsList = () => {
{isApartamentsLoading &&
Идет загрузка...
}
- {apartamentsFavorites.map((apartament, index) =>
- <>
-
-
- >
- )}
+
>
);