Skip to content

Commit

Permalink
removed translatedValue workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
matesich committed Sep 29, 2022
1 parent 5bda8da commit a6108c5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,11 @@ export class Notification extends PureComponent<NotificationComponentProps, Noti
is: isNotificationVisible ? 'opening' : 'closing'
};

const message = msgText.toString();

return (
<div block="Notification" mods={ mods } ref={ this.notification } id={ id }>
<button block="Notification" elem="Button" onClick={ this.hideNotification }> Close </button>
<p block="Notification" elem="Text">
<Html content={ message } />
<Html content={ msgText } />
</p>
{ this.renderDebug() }
</div>
Expand Down

0 comments on commit a6108c5

Please sign in to comment.