fix: cashout empty table image and machine status loading

This commit is contained in:
José Oliveira 2021-03-15 21:20:47 +00:00 committed by Josh Harvey
parent 4b2c3a3b47
commit 04c8213430
2 changed files with 3 additions and 2 deletions

View file

@ -43,7 +43,7 @@ const MachineStatus = () => {
const classes = useStyles()
const { state } = useLocation()
const addedMachineId = state?.id
const { data: machinesResponse, refetch } = useQuery(GET_MACHINES)
const { data: machinesResponse, refetch, loading } = useQuery(GET_MACHINES)
const elements = [
{
@ -103,6 +103,7 @@ const MachineStatus = () => {
</div>
</div>
<DataTable
loading={loading}
elements={elements}
data={machines}
Details={InnerMachineDetailsRow}