Center CircularProgress

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-03-25 00:16:58 +04:00
parent 127fff16ec
commit 662bd02bc8
+3 -1
View File
@@ -32,7 +32,9 @@ function Chwa(props) {
<Dialog open={open} onClose={handleClose}> <Dialog open={open} onClose={handleClose}>
<DialogTitle>Choisir le texte à modifier</DialogTitle> <DialogTitle>Choisir le texte à modifier</DialogTitle>
{loading ? ( {loading ? (
<CircularProgress sx={{color: '#29d'}} /> <Container sx={{textAlign: 'center'}}>
<CircularProgress sx={{color: '#29d'}} />
</Container>
) : ( ) : (
<List sx={{pt: 0}}> <List sx={{pt: 0}}>
{teksLis.length > 0 ? teksLis.map(({_id, tit, awtis}) => ( {teksLis.length > 0 ? teksLis.map(({_id, tit, awtis}) => (