From e688c0f7a3db62f8174b3446537e5926fb72f2cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=CC=81ctor=20Falco=CC=81n?= Date: Wed, 10 Dec 2025 13:40:27 +0100 Subject: [PATCH] Format code in categorize transactions page Reformat Tailwind class order, fix JSX indentation, and standardize quotes for consistency. --- .../js/pages/transactions/categorize.tsx | 64 ++++++++++--------- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/resources/js/pages/transactions/categorize.tsx b/resources/js/pages/transactions/categorize.tsx index e7fc6e85..51ad8d10 100644 --- a/resources/js/pages/transactions/categorize.tsx +++ b/resources/js/pages/transactions/categorize.tsx @@ -582,15 +582,17 @@ export default function CategorizeTransactions({
-
+
-
Back to Transactions
+
+ Back to Transactions +
-
+
-
+
{remainingCount} @@ -640,7 +644,7 @@ export default function CategorizeTransactions({
-
+
{animationState === 'success' && @@ -677,11 +681,11 @@ export default function CategorizeTransactions({ className={cn( 'rounded-2xl border border-zinc-200 bg-white p-6 shadow-xl shadow-zinc-200/50 transition-all duration-300 dark:border-zinc-800 dark:bg-zinc-900 dark:shadow-zinc-900/50', animationState === 'exiting' && - 'translate-y-[-20px] scale-95 opacity-0', + 'translate-y-[-20px] scale-95 opacity-0', animationState === 'entering' && - 'animate-card-enter', + 'animate-card-enter', animationState === 'idle' && - 'translate-y-0 scale-100 opacity-100', + 'translate-y-0 scale-100 opacity-100', )} >
@@ -704,20 +708,20 @@ export default function CategorizeTransactions({ {currentTransaction .bank ?.logo && ( - { - )} + { + )} = - 0 && - 'bg-green-100/70 dark:bg-green-900', + 0 && + 'bg-green-100/70 dark:bg-green-900', )} > {formatAmount( @@ -774,11 +778,11 @@ export default function CategorizeTransactions({ className={cn( 'flex flex-col gap-4 px-6 pt-2 transition-all duration-300', animationState === 'exiting' && - 'translate-y-[-10px] opacity-0', + 'translate-y-[-10px] opacity-0', animationState === 'entering' && - 'animate-command-enter', + 'animate-command-enter', animationState === 'idle' && - 'translate-y-0 opacity-100', + 'translate-y-0 opacity-100', )} >