aboutsummaryrefslogtreecommitdiff
path: root/components/anime/mobile/topSection.tsx
diff options
context:
space:
mode:
authorArtrix <[email protected]>2024-01-05 05:12:52 -0800
committerGitHub <[email protected]>2024-01-05 20:12:52 +0700
commit553fe1c71082b040e9f9667ad3e99acdb33990b2 (patch)
tree0c770c406c8ff934ce34d8b10dbae948a554a619 /components/anime/mobile/topSection.tsx
parentmigrate to typescript (diff)
downloadmoopa-553fe1c71082b040e9f9667ad3e99acdb33990b2.tar.xz
moopa-553fe1c71082b040e9f9667ad3e99acdb33990b2.zip
feat: Implement a way to review/rate anime (#108)
* Make details cover lead back to anime page * Make 'markProgress' use object instead of param list * Import Link * Implement Rate modal * Pass session into useAniList Co-authored-by: Factiven <[email protected]> * Reimplement using markComplete & add toast for failure * redefined ratemodal * fix: home page client error * update version --------- Co-authored-by: Factiven <[email protected]>
Diffstat (limited to 'components/anime/mobile/topSection.tsx')
-rw-r--r--components/anime/mobile/topSection.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/anime/mobile/topSection.tsx b/components/anime/mobile/topSection.tsx
index 2d28c66..b5d4f62 100644
--- a/components/anime/mobile/topSection.tsx
+++ b/components/anime/mobile/topSection.tsx
@@ -65,7 +65,7 @@ export default function DetailTop({
<div className="flex flex-col md:flex-row w-full items-center md:items-end gap-5 pt-12">
<div className="shrink-0 w-[180px] h-[250px] rounded overflow-hidden">
{info ? (
- <img
+ <Image
src={
info?.coverImage?.extraLarge?.toString() ??
info?.coverImage?.toString()