bump version and rebuild

This commit is contained in:
or-else
2019-10-02 10:44:59 +03:00
parent ef341cb94e
commit b8a1b39bba
7 changed files with 23 additions and 16 deletions
+9 -5
View File
@@ -35,14 +35,18 @@ export default class ErrorPanel extends React.PureComponent {
return (
<div className={className}>
<div className="icon"><i className="material-icons">{level}</i></div>
<>
<span>
<span dangerouslySetInnerHTML={{__html: this.props.text}} />
{this.props.action ?
<a href="#" onClick={(e) => {e.preventDefault(); this.props.action();}}>
{this.props.actionText}
</a>
<>
&#32;<a href="#"
style={{ whiteSpace: 'nowrap' }}
onClick={(e) => {e.preventDefault(); this.props.action();}}>
{this.props.actionText}
</a>
</>
: null}
</>
</span>
<div className="cancel"><MenuCancel onCancel={this.hide} /></div>
</div>
);