Merge pull request #842 from nymtech/bug-fix/success-overflow

fix delegate success overflow
This commit is contained in:
Tommy Verrall
2021-11-03 10:33:31 +00:00
committed by GitHub
+2 -1
View File
@@ -74,6 +74,7 @@ export const Delegate = () => {
status={status}
Error={
<Alert severity="error" data-testid="delegate-error">
<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="delegate-success">
<AlertTitle>Delegation complete</AlertTitle>
{message}
<Box style={{ wordBreak: 'break-word' }}>{message}</Box>
</Alert>
}
/>