Remove final DOM nesting warning

This commit is contained in:
Fredrik Adelöw
2020-06-09 10:26:37 +02:00
parent 5f56f981b5
commit e2dc24d237
@@ -69,11 +69,9 @@ const ComponentRemovalDialog: FC<ComponentRemovalDialogProps> = ({
<DialogContent>
{loading ? <Progress /> : null}
{error ? (
<DialogContentText>
<Alert severity="error" style={{ wordBreak: 'break-word' }}>
{error.toString()}
</Alert>
</DialogContentText>
<Alert severity="error" style={{ wordBreak: 'break-word' }}>
{error.toString()}
</Alert>
) : null}
{entities ? (
<>