// import useQueryString from "./useOffers/useQueryString";

export const useSearch = () => {
  // const queryStringHook = useQueryString();
  const searchOffers = () => {
    // if (searchString?.length !== 0) {
    //   queryStringHook.appendToQueryString("oname", searchString);
    // } else {
    //   const newQueryString = new URLSearchParams(queryStringHook.queryString);
    //   if (newQueryString.has("oname")) {
    //     queryStringHook.deleteFromQueryString("oname");
    //   }
    // }
  };

  return {
    searchOffers,
  };
};
