Merge pull request #3217 from phyzical/bugfix/dom-nesting-error-with-ul

fix for dom nesting with elements like ul
This commit is contained in:
hydroflame
2022-03-22 10:46:35 -04:00
committed by GitHub

View File

@ -66,7 +66,7 @@ export function AlertManager(): React.ReactElement {
{alerts.length > 0 && (
<Modal open={true} onClose={close}>
<Box overflow="scroll" sx={{ overflowWrap: "break-word", whiteSpace: "pre-line" }}>
<Typography>{alerts[0].text}</Typography>
<Typography component={'span'}>{alerts[0].text}</Typography>
</Box>
</Modal>
)}