This commit is contained in:
estifanos
2026-08-18 11:49:08 +00:00
parent 98277924a3
commit 10d2a8935a

View File

@@ -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<VesselRegistration | null>(null);
const [fetchTrigger] = useApiMutation<VesselRegistration>();
@@ -188,6 +188,8 @@ export function VesselRegistrationPage() {
itemCount={inFlight.length}
pageIndex={page}
pageSize={PAGE_SIZE}
refresh={refetch}
isLoading={isFetching}
onPageChange={setPage}
/>
</Stack>