aboutsummaryrefslogtreecommitdiff
path: root/src/app/anime/search/page.jsx
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-04-13 09:42:25 +0530
committerreal-zephex <[email protected]>2024-04-13 09:42:25 +0530
commit9444f1162ff40842afe1c2a01cf0a32db19a6376 (patch)
treecf0b51014fb42c83e062e7a22b0d0ea44d7888ff /src/app/anime/search/page.jsx
parentminor fixes (diff)
downloaddramalama-9444f1162ff40842afe1c2a01cf0a32db19a6376.tar.xz
dramalama-9444f1162ff40842afe1c2a01cf0a32db19a6376.zip
feature added: anime history is now stored locally on the device.
Diffstat (limited to 'src/app/anime/search/page.jsx')
-rw-r--r--src/app/anime/search/page.jsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app/anime/search/page.jsx b/src/app/anime/search/page.jsx
index ce037cb..43b5cd7 100644
--- a/src/app/anime/search/page.jsx
+++ b/src/app/anime/search/page.jsx
@@ -5,6 +5,7 @@ import { FaSearch } from "react-icons/fa"; // Import the search icon from react-
import { useState } from "react";
import Results from "./components/fetchInfo";
import fetchedInfo from "./components/fetchedInfo";
+import Link from "next/link";
export default function Input() {
const [searchedAnime, setSearchedAnime] = useState(null);
@@ -47,6 +48,11 @@ export default function Input() {
className={styles.SearchInput}
></input>
</div>
+ <button>
+ <Link href={"/anime/history/continueWatching"}>
+ Watch History
+ </Link>
+ </button>
</div>
{loading && (