File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useEffect , useState , useMemo } from 'react' ;
2
- import { styled } from '@mui/system' ;
2
+ import { Box , styled } from '@mui/system' ;
3
3
import { useDispatch , useSelector } from 'react-redux' ;
4
4
import { AppDispatch , RootState } from '../../store' ;
5
5
import { generatePermutations } from '../../features/armor-optimization/generate-permutations' ;
@@ -504,14 +504,18 @@ export const Dashboard: React.FC = () => {
504
504
</ Grid >
505
505
< Grid item md = { 4 } sx = { { marginTop : '1%' } } >
506
506
{ generatingPermutations ? (
507
- < p > Loading...</ p >
507
+ < Box display = "flex" justifyContent = "center" alignItems = "center" >
508
+ < CircularProgress size = { 24 } />
509
+ </ Box >
508
510
) : filteredPermutations ? (
509
511
< PermutationsList
510
512
permutations = { filteredPermutations }
511
513
onPermutationClick = { openLoadoutCustomization }
512
514
/>
513
515
) : (
514
- < p > Loading....</ p >
516
+ < Box display = "flex" justifyContent = "center" alignItems = "center" >
517
+ < CircularProgress size = { 24 } />
518
+ </ Box >
515
519
) }
516
520
</ Grid >
517
521
< Footer
You can’t perform that action at this time.
0 commit comments