This commit is contained in:
2024-06-25 15:30:53 +05:00
parent e9fd427d50
commit f9aec64c99
5 changed files with 7 additions and 4 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
const serverApi = "http://192.168.56.1:3000";
// const serverApi = "http://192.168.56.1:3000";
const serverApi = import.meta.env.VITE_SERVER_API;
const apartmentsApi = `${serverApi}/apartments`;
@@ -22,6 +22,7 @@ import SearchLoader from "./SearchLoader";
const LayoutOptions = () => {
const { apartments, setApartments } = useApartments();
const [isLoading, setIsLoading] = useState(false);
console.log("first", import.meta.env.VITE_TEST_VAR);
const { setModal } = useModal();
const {