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