Fix skeleton loading

This commit is contained in:
Leonardo Murça 2023-01-25 11:19:25 -03:00
parent a10af92b2d
commit e9e5ee5fe9

View file

@ -1,5 +1,4 @@
import { import {
Button,
Container, Container,
Fab, Fab,
Link, Link,
@ -29,7 +28,13 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) {
switch (state) { switch (state) {
case 'loading': case 'loading':
return ( return (
<Container sx={externalContainer} disableGutters> <Container
sx={{
...externalContainer,
display: 'block',
}}
disableGutters
>
<Stack alignItems="center"> <Stack alignItems="center">
<Skeleton <Skeleton
variant="rectangular" variant="rectangular"