From 10d2a8935a4cf36dfa792a379aceaf2363178c5d Mon Sep 17 00:00:00 2001 From: estifanos Date: Tue, 18 Aug 2026 11:49:08 +0000 Subject: [PATCH] fixes --- .../vessel-registration/pages/VesselRegistrationPage.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/portal/src/app/features/vessel-registration/pages/VesselRegistrationPage.tsx b/apps/portal/src/app/features/vessel-registration/pages/VesselRegistrationPage.tsx index 145193801..3a0790c61 100644 --- a/apps/portal/src/app/features/vessel-registration/pages/VesselRegistrationPage.tsx +++ b/apps/portal/src/app/features/vessel-registration/pages/VesselRegistrationPage.tsx @@ -131,7 +131,7 @@ function CertificateCard({ label, description }: { label: string; description: s export function VesselRegistrationPage() { const navigate = useNavigate(); const { t } = useTranslation(); - const { data: applications } = useGetMyApplicationsQuery(); + const { data: applications, isFetching, refetch } = useGetMyApplicationsQuery(); const [page, setPage] = useState(0); const [registration, setRegistration] = useState(null); const [fetchTrigger] = useApiMutation(); @@ -188,6 +188,8 @@ export function VesselRegistrationPage() { itemCount={inFlight.length} pageIndex={page} pageSize={PAGE_SIZE} + refresh={refetch} + isLoading={isFetching} onPageChange={setPage} />