diff --git a/apps/backoffice/src/app/features/payment-config/pages/PaymentConfigPage.tsx b/apps/backoffice/src/app/features/payment-config/pages/PaymentConfigPage.tsx index fabcb20f4..5d4055386 100644 --- a/apps/backoffice/src/app/features/payment-config/pages/PaymentConfigPage.tsx +++ b/apps/backoffice/src/app/features/payment-config/pages/PaymentConfigPage.tsx @@ -59,7 +59,8 @@ function feeText(amount: string | number | null, currency: string): string { } export function PaymentConfigPage() { - const { data, isLoading, error } = useGetLicenseTypesQuery(); + const { data, isLoading, isFetching, error, refetch } = + useGetLicenseTypesQuery(); const { data: capabilities } = useGetPaymentCapabilitiesQuery(); const [editing, setEditing] = useState(null); const { setPageIndex, pageSize, setPageSize, paginate } = useServerTable(); @@ -211,6 +212,8 @@ export function PaymentConfigPage() { onPageChange={setPageIndex} pageSize={pageSize} onPageSizeChange={setPageSize} + refresh={refetch} + isLoading={isFetching} />