mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 22:51:09 +08:00
Fix code style issue
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user