Added loader while loading transactions
This commit is contained in:
parent
4299f57e2d
commit
93288d1413
@ -35,7 +35,7 @@ export function CorporateDashboard() {
|
||||
const {
|
||||
data: transactionsResponse,
|
||||
refetch,
|
||||
isLoading,
|
||||
isFetching,
|
||||
} = useFetchCorporateTransactionsQuery(request);
|
||||
|
||||
useEffect(() => {
|
||||
@ -163,7 +163,7 @@ export function CorporateDashboard() {
|
||||
</div>
|
||||
|
||||
<TransactionsTable
|
||||
isLoading={isLoading}
|
||||
isLoading={isFetching}
|
||||
data={
|
||||
transactionsResponse || {
|
||||
limit: 10,
|
||||
|
||||
@ -36,7 +36,7 @@ export function CustomerDashboard() {
|
||||
const {
|
||||
data: transactionsResponse,
|
||||
refetch,
|
||||
isLoading: isTransactionLoading,
|
||||
isFetching: isTransactionLoading,
|
||||
} = useFetchBonusTransactionsQuery(request);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user