Add information in Groups.jsx

This commit is contained in:
Mathias Wagner
2024-07-22 22:33:31 +02:00
parent df16b59d9f
commit 411317375a

View File

@ -56,6 +56,10 @@ export const Groups = ({setGroups, groups}) => {
</Stack>
))}
{onlineGroups.length === 0 && !loading && <Stack justifyContent="center" alignItems="center" sx={{mt: 2}}>
<Typography variant="h6" color="text.secondary">No groups found</Typography>
</Stack>}
{loading && <Stack justifyContent="center" alignItems="center" sx={{mt: 2}}>
<CircularProgress/>
</Stack>}