aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorzephex0 <[email protected]>2024-04-19 02:39:43 +0000
committerzephex0 <[email protected]>2024-04-19 02:39:43 +0000
commit38114280277b1720b0114b882d337d10231b5baf (patch)
tree2e9c3e315b4be79f6eb66462b15a2e8de3194380 /src/app
parentfeature added: tracker for mangas (diff)
downloaddramalama-38114280277b1720b0114b882d337d10231b5baf.tar.xz
dramalama-38114280277b1720b0114b882d337d10231b5baf.zip
test changes
Diffstat (limited to 'src/app')
-rw-r--r--src/app/manga/[title]/[id]/[read]/currentReading.jsx34
-rw-r--r--src/app/manga/history/continueWatching/page.jsx2
2 files changed, 1 insertions, 35 deletions
diff --git a/src/app/manga/[title]/[id]/[read]/currentReading.jsx b/src/app/manga/[title]/[id]/[read]/currentReading.jsx
deleted file mode 100644
index 0050d61..0000000
--- a/src/app/manga/[title]/[id]/[read]/currentReading.jsx
+++ /dev/null
@@ -1,34 +0,0 @@
-"use client";
-
-import styles from "./read.module.css";
-import { useEffect } from "react";
-
-function get_current_info(title) {
- let req = {};
-
- useEffect(() => {
- const data = JSON.parse(localStorage.getItem("mangaData"));
- data.watchHis.forEach((element) => {
- if (element.title === title) {
- req.chapter = element.chapter;
- req.volume = element.volume;
- }
- });
- }, []);
-
- return req || false;
-}
-
-export default function Current({ name: title }) {
- let data = get_current_info(title);
- if (!data) {
- return;
- }
-
- return (
- <section className={styles.CurrentMain}>
- <p className={styles.CurrentChapter}>{data.chapter}</p>
- <p className={styles.CurrentVolume}>{data.volume}</p>
- </section>
- );
-}
diff --git a/src/app/manga/history/continueWatching/page.jsx b/src/app/manga/history/continueWatching/page.jsx
index 0d0a02e..8c5f651 100644
--- a/src/app/manga/history/continueWatching/page.jsx
+++ b/src/app/manga/history/continueWatching/page.jsx
@@ -25,7 +25,7 @@ const ContinueWatching = () => {
return (
<main className={styles.main}>
- <p className={styles.mainText}>Continue Watching</p>
+ <p className={styles.mainText}>Continue Reading</p>
{localItems && (
<div className={styles.animeContainer}>
{localItems.watchHis &&