From 175e6b5434f58821947a98422c684478006864c6 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Tue, 7 Oct 2025 15:36:19 +0100 Subject: [PATCH] reloads table after status update --- src/components/country/CountrySettings.jsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/country/CountrySettings.jsx b/src/components/country/CountrySettings.jsx index c397480..4111337 100644 --- a/src/components/country/CountrySettings.jsx +++ b/src/components/country/CountrySettings.jsx @@ -65,7 +65,8 @@ export default function CountrySettings(){
<> - {status === 'pending' ? + {/* status === 'pending' */} + {isFetching ?

Loading...

: isError ?

{error.message}

@@ -108,11 +109,11 @@ export default function CountrySettings(){ <> {selected == 'status' + index ?
- Loading... + Loading...
: - Loading... + Loading...
: