fix overflow

This commit is contained in:
fmtabbara
2021-10-22 17:52:15 +01:00
parent ca0ed3594f
commit 7aad7daa5e
+2 -1
View File
@@ -74,6 +74,7 @@ export const Delegate = () => {
status={status}
Error={
<Alert severity="error" data-testid="delegateError">
<AlertTitle>Delegation failed</AlertTitle>
An error occurred with the request:
<Box style={{ wordBreak: 'break-word' }}>{message}</Box>
</Alert>
@@ -81,7 +82,7 @@ export const Delegate = () => {
Success={
<Alert severity="success" data-testid="delegateSuccess">
<AlertTitle>Delegation complete</AlertTitle>
{message}
<Box style={{ wordBreak: 'break-word' }}>{message}</Box>
</Alert>
}
/>