Fix the Mega Breaking change

This commit is contained in:
hackrush 2017-08-26 00:11:31 +05:30
parent e8c5ba5536
commit 5ae8129084
2 changed files with 4 additions and 4 deletions

View file

@ -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}

View file

@ -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),
});
}