Use external loader instead of GnoTable builtin one

This commit is contained in:
fernandomg 2020-07-03 09:55:32 -03:00
parent 38b1d83f8c
commit 91e300a862
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
import { Button, Text, Title, theme } from '@gnosis.pm/safe-react-components' import { Button, Loader, Text, Title, theme } from '@gnosis.pm/safe-react-components'
import { makeStyles } from '@material-ui/core/styles' import { makeStyles } from '@material-ui/core/styles'
import TableContainer from '@material-ui/core/TableContainer' import TableContainer from '@material-ui/core/TableContainer'
import cn from 'classnames' import cn from 'classnames'
@ -155,6 +155,10 @@ const Advanced: React.FC = () => {
<InfoText color="secondaryLight" size="xl"> <InfoText color="secondaryLight" size="xl">
No modules enabled No modules enabled
</InfoText> </InfoText>
) : moduleData.size === 0 ? (
<Block className={classes.container}>
<Loader size="md" />
</Block>
) : ( ) : (
<TableContainer> <TableContainer>
<Table <Table