fix(proposals): truncated text in network param toast (#4249)

This commit is contained in:
Art 2023-07-05 12:50:42 +02:00 committed by GitHub
parent 26f4c1c983
commit fc8f12d6fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,11 +37,10 @@ const UpdateNetworkParameterToastContent = ({
<div>
<ToastHeading>{title}</ToastHeading>
<p className="italic">
'
{t(
`Update ${change.networkParameter.key} to ${change.networkParameter.value}`
)}
'
'{t('Update ')}
<span className="break-all">{change.networkParameter.key}</span>
{t(' to ')}
<span>{change.networkParameter.value}</span>'
</p>
{!isNaN(enactment) && (
<p>