From 893a65fe421e8280b08c77cd5f1672ca988f1ad2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Youn=20M=C3=A9lois?= Date: Mon, 11 Nov 2024 17:29:52 +0100 Subject: [PATCH] refactor: remove unnecessary indent --- src/pages/Browse/ExtensionBrowse.tsx | 46 +++++++++++++--------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/src/pages/Browse/ExtensionBrowse.tsx b/src/pages/Browse/ExtensionBrowse.tsx index c4745ac..3a75dad 100644 --- a/src/pages/Browse/ExtensionBrowse.tsx +++ b/src/pages/Browse/ExtensionBrowse.tsx @@ -125,29 +125,27 @@ const MangaItem = ( }, []); return ( - <> - -
- setLoading(false)} - onChange={(inView) => { - if (inView) setLoading(true); - }} - className={`w-full h-full object-cover rounded-md transition-opacity duration-300 ${ - loading ? "opacity-0" : "opacity-1" - }`} - offset="200vh" - /> -
-

- {manga.title} -

- - + +
+ setLoading(false)} + onChange={(inView) => { + if (inView) setLoading(true); + }} + className={`w-full h-full object-cover rounded-md transition-opacity duration-300 ${ + loading ? "opacity-0" : "opacity-1" + }`} + offset="200vh" + /> +
+

+ {manga.title} +

+ ); };