Fix skeleton loading
This commit is contained in:
parent
a10af92b2d
commit
e9e5ee5fe9
1 changed files with 7 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue