aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/mastodon/components/button.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/components/button.js')
-rw-r--r--app/javascript/mastodon/components/button.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/mastodon/components/button.js b/app/javascript/mastodon/components/button.js
index 7612bd233..cc6482cde 100644
--- a/app/javascript/mastodon/components/button.js
+++ b/app/javascript/mastodon/components/button.js
@@ -11,11 +11,11 @@ class Button extends React.PureComponent {
secondary: PropTypes.bool,
size: PropTypes.number,
style: PropTypes.object,
- children: PropTypes.node
+ children: PropTypes.node,
};
static defaultProps = {
- size: 36
+ size: 36,
};
handleClick = (e) => {
@@ -29,7 +29,7 @@ class Button extends React.PureComponent {
padding: `0 ${this.props.size / 2.25}px`,
height: `${this.props.size}px`,
lineHeight: `${this.props.size}px`,
- ...this.props.style
+ ...this.props.style,
};
return (