removed unused imports & watch case on adv search

This commit is contained in:
2022-01-20 10:31:53 +00:00
parent ab45a5fc77
commit f0b69141d4
76 changed files with 458 additions and 636 deletions
+11 -20
View File
@@ -1,25 +1,16 @@
import _ from "lodash";
import Head from "next/head";
import Header from "../components/header";
import Banner from "../components/banner";
import CookieBanner from "../components/cookieBanner";
import Breadcrumbs from "../components/breadcrumbs";
import ViewAll from "../components/viewall";
import Footer from "../components/footer";
import Errorpage from "../components/errorpage";
import styles from "../styles/Home.module.css";
import { useSelector, shallowEqual, connect } from "react-redux";
import { wrapper } from "../store/store";
import { useRouter } from "next/router";
import useTranslation from "next-translate/useTranslation";
import { setSearch, getSearchObj } from "../store/search/action";
import {
setSearchResults,
getSearchResultsObj,
} from "../store/searchOutput/action";
import Head from "next/head";
import { useRouter } from "next/router";
import { connect } from "react-redux";
import { getBasicSearch } from "../actions";
import Breadcrumbs from "../components/breadcrumbs";
import CookieBanner from "../components/cookieBanner";
import Footer from "../components/footer";
import Header from "../components/header";
import ViewAll from "../components/viewall";
import { setSearch } from "../store/search/action";
import { setSearchResults } from "../store/searchOutput/action";
import { wrapper } from "../store/store";
const Home = (props) => {
const { footerLinks, pages } = props;