fix: set machine default value to empty list
This commit is contained in:
parent
a5723b7779
commit
62960ea195
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ const HeaderCell = withStyles({
|
||||||
}
|
}
|
||||||
})(TableCell)
|
})(TableCell)
|
||||||
|
|
||||||
const MachinesTable = ({ machines, numToRender }) => {
|
const MachinesTable = ({ machines = [], numToRender }) => {
|
||||||
const classes = useStyles()
|
const classes = useStyles()
|
||||||
const history = useHistory()
|
const history = useHistory()
|
||||||
const getPercent = (notes, capacity = 500) => {
|
const getPercent = (notes, capacity = 500) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue