+ :
В избранном пока ничего нет...
- )}
+ }
{data &&
data[data.length - 1].current_page <
data[data.length - 1].total_page_count && (
diff --git a/app/pages/History.tsx b/app/pages/History.tsx
index 73c9f10..7b4c495 100644
--- a/app/pages/History.tsx
+++ b/app/pages/History.tsx
@@ -10,7 +10,6 @@ import { Button } from "flowbite-react";
import { useRouter } from "next/navigation";
import { useSWRfetcher } from "#/api/utils";
-
export function HistoryPage() {
const token = useUserStore((state) => state.token);
const authState = useUserStore((state) => state.state);
@@ -62,7 +61,9 @@ export function HistoryPage() {
className="flex-1 max-w-full mx-4 mb-4"
onSubmit={(e) => {
e.preventDefault();
- router.push(`/search?q=${searchVal}&where=history`);
+ router.push(
+ `/search?query=${searchVal}¶ms={"where"%3A"history"%2C"searchBy"%3A"none"}`
+ );
}}
>
- {content && content.length > 0 ? (
+ {content && content.length > 0 ?
<>