Fix the Mega Breaking change
This commit is contained in:
parent
e8c5ba5536
commit
5ae8129084
2 changed files with 4 additions and 4 deletions
|
@ -170,14 +170,14 @@ class FileActions extends React.PureComponent {
|
|||
|
||||
return (
|
||||
<section className="file-actions">
|
||||
{showTipBox ? "" : content}
|
||||
{content}
|
||||
<Link
|
||||
label={__("Support")}
|
||||
button="text"
|
||||
icon="icon-gift"
|
||||
onClick={this.handleSupportButtonClicked.bind(this)}
|
||||
/>
|
||||
{showMenu && !showTipBox
|
||||
{showMenu
|
||||
? <DropDownMenu>
|
||||
<DropDownMenuItem
|
||||
key={0}
|
||||
|
|
|
@ -7,7 +7,7 @@ class TipLink extends React.PureComponent {
|
|||
super(props);
|
||||
|
||||
this.state = {
|
||||
tipAmount: "1.00",
|
||||
tipAmount: 1.0,
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ class TipLink extends React.PureComponent {
|
|||
|
||||
handleSupportPriceChange(event) {
|
||||
this.setState({
|
||||
tipAmount: event.target.value,
|
||||
tipAmount: Number(event.target.value),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue