diff --git a/components/Search.tsx b/components/Search.tsx
index f6b2a00..0822e5d 100644
--- a/components/Search.tsx
+++ b/components/Search.tsx
@@ -27,11 +27,6 @@ export default function Search(props: any) {
[searchParams]
);
- const replaceText = (text: any) => {
- setSearch(text?.replace(/\w+:/, {text}));
- console.log(search);
- };
-
const handleSearch = useDebouncedCallback((term: string) => {
//replaceText(term);
//setSearch(term);
@@ -96,12 +91,6 @@ export default function Search(props: any) {
setSelectedTerm(searchParams.get("term")?.toString().split(","));
}
- if (searchTermCookie) {
- params.set("query", searchTermCookie);
- setSearch(searchTermCookie);
- replace(`${pathname}?${params.toString()}`);
- }
-
//searchTermCookie;
}, []);
@@ -166,7 +155,6 @@ export default function Search(props: any) {