code refactoring
This commit is contained in:
@@ -8,7 +8,7 @@ const LoadingBackdrop: React.FC = () => {
|
||||
return (
|
||||
<Backdrop
|
||||
sx={{ color: '#fff', zIndex: (theme) => theme.zIndex.drawer + 1 }}
|
||||
open={!isLoading}
|
||||
open={isLoading}
|
||||
>
|
||||
<CircularProgress color="primary" />
|
||||
</Backdrop>
|
||||
|
||||
Reference in New Issue
Block a user