mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
fixes
This commit is contained in:
@@ -131,7 +131,7 @@ function CertificateCard({ label, description }: { label: string; description: s
|
|||||||
export function VesselRegistrationPage() {
|
export function VesselRegistrationPage() {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const { data: applications } = useGetMyApplicationsQuery();
|
const { data: applications, isFetching, refetch } = useGetMyApplicationsQuery();
|
||||||
const [page, setPage] = useState(0);
|
const [page, setPage] = useState(0);
|
||||||
const [registration, setRegistration] = useState<VesselRegistration | null>(null);
|
const [registration, setRegistration] = useState<VesselRegistration | null>(null);
|
||||||
const [fetchTrigger] = useApiMutation<VesselRegistration>();
|
const [fetchTrigger] = useApiMutation<VesselRegistration>();
|
||||||
@@ -188,6 +188,8 @@ export function VesselRegistrationPage() {
|
|||||||
itemCount={inFlight.length}
|
itemCount={inFlight.length}
|
||||||
pageIndex={page}
|
pageIndex={page}
|
||||||
pageSize={PAGE_SIZE}
|
pageSize={PAGE_SIZE}
|
||||||
|
refresh={refetch}
|
||||||
|
isLoading={isFetching}
|
||||||
onPageChange={setPage}
|
onPageChange={setPage}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
Reference in New Issue
Block a user