diff --git a/pairent_frontend_react/package.json b/pairent_frontend_react/package.json
index 45f04aa..8505deb 100644
--- a/pairent_frontend_react/package.json
+++ b/pairent_frontend_react/package.json
@@ -12,7 +12,6 @@
"react-awesome-slider": "^4.1.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.11.0",
- "react-select": "^5.7.3",
"react-spinners": "^0.13.8",
"styled-components": "^6.0.0-rc.1"
},
diff --git a/pairent_frontend_react/src/pages/IndexPage/index.jsx b/pairent_frontend_react/src/pages/IndexPage/index.jsx
index 617ca3c..3a0c6c6 100644
--- a/pairent_frontend_react/src/pages/IndexPage/index.jsx
+++ b/pairent_frontend_react/src/pages/IndexPage/index.jsx
@@ -1,6 +1,5 @@
import React, { useState } from "react";
import ISVGIcon from '../../components/UI/Icon/SVGIcon';
-import Select from 'react-select';
import ApartmentsList from "../../components/ApartmentsList";
import { Filters } from "../../API/Filters";
@@ -18,6 +17,13 @@ import constants from "../../constants";
const API_ROOT = constants.API_ROOT;
+const Select = styled.select`
+ padding: 6px 10px;
+ border: 1px solid #c2c4c2;
+ border-radius: 6px;
+ box-shadow: 0 2px 2px #00000010
+`;
+
const SVGIcon = styled(ISVGIcon)`
margin-left:0;
`;
@@ -278,10 +284,16 @@ const FiltersForm = (props) => {
@@ -321,7 +333,7 @@ const FiltersForm = (props) => {
{
props.loading ?
<>
-
+
Загрузка данных...
> :
<>