From a3c89b38a30f89fafb7bd542ef5b233b52662a8b Mon Sep 17 00:00:00 2001
From: casperiv0 <53900565+casperiv0@users.noreply.github.com>
Date: Sun, 15 Oct 2023 11:04:16 +0200
Subject: [PATCH] chore: add loading state
---
.../leo/modals/NameSearchModal/tabs/records-tab.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/apps/client/src/components/leo/modals/NameSearchModal/tabs/records-tab.tsx b/apps/client/src/components/leo/modals/NameSearchModal/tabs/records-tab.tsx
index 0f70cae1f..51bb3b6f4 100644
--- a/apps/client/src/components/leo/modals/NameSearchModal/tabs/records-tab.tsx
+++ b/apps/client/src/components/leo/modals/NameSearchModal/tabs/records-tab.tsx
@@ -291,9 +291,9 @@ export function RecordsTable({
onPress={() => handleMarkAsPaid(record)}
size="xs"
className="inline-flex mr-2 items-center gap-2"
- disabled={exportState === "loading"}
+ disabled={state === "loading"}
>
- {exportState === "loading" ? : null}
+ {state === "loading" ? : null}
{t("Citizen.markAsPaid")}
)