From 8eab41ac89747437f3afcd27e90012ddc8d1e3dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vi=CC=81ctor=20Falco=CC=81n?= Date: Mon, 8 Dec 2025 18:36:17 +0100 Subject: [PATCH] fix: asd key element to accounts index page --- resources/js/pages/Accounts/Index.tsx | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/resources/js/pages/Accounts/Index.tsx b/resources/js/pages/Accounts/Index.tsx index 61bca50d..5d9a8aef 100644 --- a/resources/js/pages/Accounts/Index.tsx +++ b/resources/js/pages/Accounts/Index.tsx @@ -83,25 +83,14 @@ export default function AccountsIndex({ accounts }: Props) { const accountsInGroup = groupedAccounts[type]; if (accountsInGroup.length === 0) return null; - return ( - <> - {isLoading - ? accountsInGroup.map((account) => ( - - )) - : accountsInGroup.map((account) => ( - - ))} - - ); + return accountsInGroup.map((account) => ( + + )); })}