Skip to content

Commit

Permalink
usereponsinve fix for isMobile
Browse files Browse the repository at this point in the history
  • Loading branch information
shivky1992 committed Sep 5, 2024
1 parent d5df778 commit 49d8416
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/Start/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { useSearchParams } from "react-router-dom";
import { getTotalCityTours } from "../../actions/crudActions";
import DomainMenu from "../../components/DomainMenu";
import LanguageMenu from "../../components/LanguageMenu";
import { getDomainText } from "../../utils/globals";
import { getDomainText, useResponsive } from "../../utils/globals";
import SearchContainer from "./SearchContainer";
import "/src/config.js";

Expand Down Expand Up @@ -49,7 +49,7 @@ export default function Header({
// const [backgroundImage, setBackgroundImage] = useState(
// `${LINEAR_GRADIENT} url(/app_static/img/background_start_tiny_${tld}.jpeg)`
// );
const _isMobile = true;
const _isMobile = useResponsive();
const { t, i18n } = useTranslation();

function updateCapCity(newCity) {
Expand Down

0 comments on commit 49d8416

Please sign in to comment.