Center CircularProgress
This commit is contained in:
@@ -32,7 +32,9 @@ function Chwa(props) {
|
||||
<Dialog open={open} onClose={handleClose}>
|
||||
<DialogTitle>Choisir le texte à modifier</DialogTitle>
|
||||
{loading ? (
|
||||
<Container sx={{textAlign: 'center'}}>
|
||||
<CircularProgress sx={{color: '#29d'}} />
|
||||
</Container>
|
||||
) : (
|
||||
<List sx={{pt: 0}}>
|
||||
{teksLis.length > 0 ? teksLis.map(({_id, tit, awtis}) => (
|
||||
|
||||
Reference in New Issue
Block a user