diff --git a/.travis.yml b/.travis.yml index 69cf1679..1cfe8da9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: node_js node_js: - - "5" - - "4" + - "6" before_script: - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start diff --git a/src/apis/StyleSheet/index.js b/src/apis/StyleSheet/index.js index a6eb6eed..a8db0945 100644 --- a/src/apis/StyleSheet/index.js +++ b/src/apis/StyleSheet/index.js @@ -57,7 +57,7 @@ const renderToString = () => { * where possible. */ const resolve = ({ className, style = {} }) => { - const props = StyleSheetRegistry.getStyleAsNativeProps(style, isRendered); + const props = StyleSheetRegistry.getStyleAsNativeProps(style, isRendered) return { ...props, className: className ? `${props.className} ${className}`.trim() : props.className