feat: center loader

This commit is contained in:
karishmas6
2024-11-29 22:32:30 +05:30
parent 6a5f37c913
commit 38516c0d84

View File

@@ -92,7 +92,20 @@ const ApiKeyManager = () => {
}
};
if (loading) return <CircularProgress />;
if (loading) {
return (
<Box
sx={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
height: '100vh',
}}
>
<CircularProgress />
</Box>
);
}
return (
<Container sx={{ alignSelf: 'flex-start' }}>