summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2018-01-08 16:15:09 +0100
committerErik Larkö <erik@mullvad.net>2018-01-08 16:15:09 +0100
commit4ba8eb3c7f9f15fc87e1ba616854a183410bb0ea (patch)
tree98edbfb9f7ec21b70a7ddded0d5c36eff52ce97d
parent038f658866c610b7619af0e10bd3e922211e6e31 (diff)
parenta1d57928044bfd8a1e771221b29b2874dc32b1b0 (diff)
downloadmullvadvpn-4ba8eb3c7f9f15fc87e1ba616854a183410bb0ea.tar.xz
mullvadvpn-4ba8eb3c7f9f15fc87e1ba616854a183410bb0ea.zip
Merge branch 'travis-maintenance'
-rw-r--r--.travis.yml7
-rw-r--r--app/components/styled/Button.js6
2 files changed, 1 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index c62e82f632..2246706168 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,13 +35,6 @@ matrix:
before_script: *node_before_script
script: *node_script
- - language: node_js
- node_js: '6'
- cache: yarn
- install: *node_install
- before_script: *node_before_script
- script: *node_script
-
# Backend macOS
- language: rust
diff --git a/app/components/styled/Button.js b/app/components/styled/Button.js
index df880701cd..59d2371480 100644
--- a/app/components/styled/Button.js
+++ b/app/components/styled/Button.js
@@ -10,11 +10,7 @@ const defaultStyle = ReactXP.Styles.createViewStyle({
export function Button(props: *) {
const { style, cursor, ...rest } = props;
- const stylePropArray = Array.isArray(props.style)
- ? props.style
- : [props.style];
-
- const concreteStyle = ReactXP.Styles.combine([defaultStyle, ...stylePropArray]);
+ const concreteStyle = ReactXP.Styles.combine([defaultStyle, style]);
// Can be removed when we upgrade to ReactXP 0.51
const concreteCursor = cursor || concreteStyle.cursor || 'default';