Skip to content

Commit 0b33dc2

Browse files
committed
dashboard
1 parent 1e6faa8 commit 0b33dc2

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/app/routes/Dashboard.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useEffect, useState, useMemo } from 'react';
2-
import { styled } from '@mui/system';
2+
import { Box, styled } from '@mui/system';
33
import { useDispatch, useSelector } from 'react-redux';
44
import { AppDispatch, RootState } from '../../store';
55
import { generatePermutations } from '../../features/armor-optimization/generate-permutations';
@@ -504,14 +504,18 @@ export const Dashboard: React.FC = () => {
504504
</Grid>
505505
<Grid item md={4} sx={{ marginTop: '1%' }}>
506506
{generatingPermutations ? (
507-
<p>Loading...</p>
507+
<Box display="flex" justifyContent="center" alignItems="center">
508+
<CircularProgress size={24} />
509+
</Box>
508510
) : filteredPermutations ? (
509511
<PermutationsList
510512
permutations={filteredPermutations}
511513
onPermutationClick={openLoadoutCustomization}
512514
/>
513515
) : (
514-
<p>Loading....</p>
516+
<Box display="flex" justifyContent="center" alignItems="center">
517+
<CircularProgress size={24} />
518+
</Box>
515519
)}
516520
</Grid>
517521
<Footer

0 commit comments

Comments
 (0)