fix: add empty table text
This commit is contained in:
parent
97ffb7bdf1
commit
00387e0862
7 changed files with 81 additions and 48 deletions
|
|
@ -92,7 +92,7 @@ const CustomerProfile = memo(() => {
|
|||
const history = useHistory()
|
||||
const { id: customerId } = useParams()
|
||||
|
||||
const { data: customerResponse, refetch: getCustomer } = useQuery(
|
||||
const { data: customerResponse, refetch: getCustomer, loading } = useQuery(
|
||||
GET_CUSTOMER,
|
||||
{
|
||||
variables: { customerId }
|
||||
|
|
@ -171,7 +171,7 @@ const CustomerProfile = memo(() => {
|
|||
/>
|
||||
</Box>
|
||||
</div>
|
||||
<TransactionsList data={sortedTransactions} />
|
||||
<TransactionsList data={sortedTransactions} loading={loading} />
|
||||
</>
|
||||
)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue