Center CircularProgress
This commit is contained in:
@@ -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 ? (
|
||||||
|
<Container sx={{textAlign: 'center'}}>
|
||||||
<CircularProgress sx={{color: '#29d'}} />
|
<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}) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user