Skip to content

Commit

Permalink
fix(ToastMessage): × using dangerouslySetInnerHTML
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed May 22, 2015
1 parent fb82ff2 commit af7e605
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ToastMessage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ var ToastMessageSpec = {
_render_close_button (props) {
return props.closeButton ? (
<button className="toast-close-button" role="button"
onClick={this._handle_close_button_click}>&times;</button>
onClick={this._handle_close_button_click}
dangerouslySetInnerHTML={{__html: "&times;"}}
/>
) : false;
},

Expand Down

0 comments on commit af7e605

Please sign in to comment.