summaryrefslogtreecommitdiffhomepage
path: root/app/components
diff options
context:
space:
mode:
Diffstat (limited to 'app/components')
-rw-r--r--app/components/styled/AppButton.js10
-rw-r--r--app/components/styled/CellButton.js2
2 files changed, 6 insertions, 6 deletions
diff --git a/app/components/styled/AppButton.js b/app/components/styled/AppButton.js
index 4f6d45806f..f868d33ce0 100644
--- a/app/components/styled/AppButton.js
+++ b/app/components/styled/AppButton.js
@@ -97,7 +97,7 @@ class BaseButton extends Component {
{...otherProps}>
{
React.Children.map(children, (node) => {
- if (React.isValidElement(node)){
+ if (React.isValidElement(node)) {
let updatedProps = {};
if(node.type.name === 'Label') {
@@ -119,18 +119,18 @@ class BaseButton extends Component {
}
}
-export class RedButton extends BaseButton{
+export class RedButton extends BaseButton {
backgroundStyle = () => this.state.hovered ? styles.redHover : styles.red;
}
-export class GreenButton extends BaseButton{
+export class GreenButton extends BaseButton {
backgroundStyle = () => this.state.hovered ? styles.greenHover : styles.green;
}
-export class BlueButton extends BaseButton{
+export class BlueButton extends BaseButton {
backgroundStyle = () => this.state.hovered ? styles.blueHover : styles.blue;
}
-export class TransparentButton extends BaseButton{
+export class TransparentButton extends BaseButton {
backgroundStyle = () => this.state.hovered ? styles.transparentHover : styles.transparent;
} \ No newline at end of file
diff --git a/app/components/styled/CellButton.js b/app/components/styled/CellButton.js
index 7309180241..fe3042709a 100644
--- a/app/components/styled/CellButton.js
+++ b/app/components/styled/CellButton.js
@@ -89,7 +89,7 @@ export default class CellButton extends Component {
{...otherProps}>
{
React.Children.map(children, (node) => {
- if (React.isValidElement(node)){
+ if (React.isValidElement(node)) {
let updatedProps = {};
if(node.type.name === 'Label') {