fix: fix wallet table width

This commit is contained in:
José Oliveira 2021-11-16 21:36:00 +00:00
parent 82490145cd
commit 12e9523554
3 changed files with 11 additions and 6 deletions

View file

@ -127,6 +127,8 @@ const ETable = ({
((enableToggle && toggleWidth) ?? 0)
const width = getWidth(elements) + actionColSize
console.log(width, getWidth(elements), actionColSize)
console.log(elements)
const classes = useStyles({ width })
const showButtonOnEmpty = !data.length && enableCreate && !adding