File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/app/[locale]/(main)/(container)/(homepage) Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- import { Box , Grid , Skeleton } from '@mui/material' ;
1+ import { Grid , Skeleton , Stack } from '@mui/material' ;
22
33const Loading = ( ) => {
44 return (
@@ -11,10 +11,10 @@ const Loading = () => {
1111 { new Array ( 4 ) . fill ( 1 ) . map ( ( item , index ) => {
1212 return (
1313 < Grid key = { index } item xs = { 12 } md = { 6 } lg = { 4 } xl = { 3 } >
14- < Box >
15- < Skeleton variant = "rectangular" height = { 120 } />
14+ < Stack alignItems = "end" >
15+ < Skeleton width = "100%" variant = "rectangular" height = { 120 } />
1616 < Skeleton variant = "text" width = { 60 } />
17- </ Box >
17+ </ Stack >
1818 </ Grid >
1919 ) ;
2020 } ) }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { bestSellingSortOption } from '@/static/sortOptions';
1717import { Grid } from '@mui/material' ;
1818
1919const getSliders = async ( ) => {
20- await Sleep ( 5000 ) ;
20+ await Sleep ( 51111000 ) ;
2121 const { data } = await getClient ( ) . query < GetHomePageSlidersQuery > ( {
2222 query : GET_HOMEPAGE_SLIDERS ,
2323 } ) ;
You can’t perform that action at this time.
0 commit comments