Remove final DOM nesting warning
This commit is contained in:
@@ -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 ? (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user