aboutsummaryrefslogtreecommitdiff
path: root/src/lib/Reader/Chapters
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-09 00:41:20 -0700
committerFuwn <[email protected]>2024-10-09 00:41:43 -0700
commit998b63a35256ac985a5a2714dd1ca451af4dfd8a (patch)
tree50796121a9d5ab0330fdc5d7e098bda2860d9726 /src/lib/Reader/Chapters
parentfeat(graphql): add badgeCount field (diff)
downloaddue.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.tar.xz
due.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.zip
chore(prettier): use spaces instead of tabs
Diffstat (limited to 'src/lib/Reader/Chapters')
-rw-r--r--src/lib/Reader/Chapters/MangaDex.svelte34
-rw-r--r--src/lib/Reader/Chapters/Rawkuma.svelte30
2 files changed, 32 insertions, 32 deletions
diff --git a/src/lib/Reader/Chapters/MangaDex.svelte b/src/lib/Reader/Chapters/MangaDex.svelte
index 12eca713..44c0d8f6 100644
--- a/src/lib/Reader/Chapters/MangaDex.svelte
+++ b/src/lib/Reader/Chapters/MangaDex.svelte
@@ -1,22 +1,22 @@
<script lang="ts">
- export let data: any;
+ export let data: any;
</script>
<ul>
- {#each data.data as chapter}
- <li>
- {#if chapter.attributes.volume}
- Vol. {chapter.attributes.volume}
- {/if}
- Ch. {chapter.attributes.chapter}
- <span class="opaque">|</span>
- <a
- href={`https://mangadex.org/chapter/${chapter.id}`}
- target="_blank"
- rel="noopener noreferrer"
- >
- {chapter.attributes.title || 'Read'}
- </a>
- </li>
- {/each}
+ {#each data.data as chapter}
+ <li>
+ {#if chapter.attributes.volume}
+ Vol. {chapter.attributes.volume}
+ {/if}
+ Ch. {chapter.attributes.chapter}
+ <span class="opaque">|</span>
+ <a
+ href={`https://mangadex.org/chapter/${chapter.id}`}
+ target="_blank"
+ rel="noopener noreferrer"
+ >
+ {chapter.attributes.title || 'Read'}
+ </a>
+ </li>
+ {/each}
</ul>
diff --git a/src/lib/Reader/Chapters/Rawkuma.svelte b/src/lib/Reader/Chapters/Rawkuma.svelte
index 5a7e57ad..720c65d5 100644
--- a/src/lib/Reader/Chapters/Rawkuma.svelte
+++ b/src/lib/Reader/Chapters/Rawkuma.svelte
@@ -1,22 +1,22 @@
<script lang="ts">
- import { getChaptersFromText } from '$lib/Data/Manga/raw';
- import { onMount } from 'svelte';
+ import { getChaptersFromText } from '$lib/Data/Manga/raw';
+ import { onMount } from 'svelte';
- export let data: string;
+ export let data: string;
- onMount(() => {
- console.log();
- });
+ onMount(() => {
+ console.log();
+ });
</script>
<ul>
- {#each getChaptersFromText(data) as chapter}
- <li>
- {chapter.chapterDate}
- <span class="opaque">|</span>
- <a href={chapter.href} target="_blank" rel="noopener noreferrer">
- {chapter.chapterNum}
- </a>
- </li>
- {/each}
+ {#each getChaptersFromText(data) as chapter}
+ <li>
+ {chapter.chapterDate}
+ <span class="opaque">|</span>
+ <a href={chapter.href} target="_blank" rel="noopener noreferrer">
+ {chapter.chapterNum}
+ </a>
+ </li>
+ {/each}
</ul>