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> <div>
<ToastHeading>{title}</ToastHeading> <ToastHeading>{title}</ToastHeading>
<p className="italic"> <p className="italic">
' '{t('Update ')}
{t( <span className="break-all">{change.networkParameter.key}</span>
`Update ${change.networkParameter.key} to ${change.networkParameter.value}` {t(' to ')}
)} <span>{change.networkParameter.value}</span>'
'
</p> </p>
{!isNaN(enactment) && ( {!isNaN(enactment) && (
<p> <p>