Move "retry" button below error message

This commit is contained in:
schroda
2024-05-05 00:51:41 +02:00
parent 129e6171a5
commit 648ac49354

View File

@@ -50,9 +50,9 @@ export function EmptyView({ message, messageExtra, retry, noFaces, sx }: EmptyVi
{errorFace} {errorFace}
</Typography> </Typography>
)} )}
{retry && <Button onClick={retry}>{t('global.button.retry')}</Button>}
<Typography variant="h5">{message}</Typography> <Typography variant="h5">{message}</Typography>
{messageExtra} {messageExtra}
{retry && <Button onClick={retry}>{t('global.button.retry')}</Button>}
</Stack> </Stack>
); );
} }