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 {
|
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"
|
||||||
|
|
Loading…
Reference in a new issue