mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-01 01:59:10 +00:00
Fix code style issue
This commit is contained in:
+1
-2
@@ -1,7 +1,6 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "5"
|
- "6"
|
||||||
- "4"
|
|
||||||
before_script:
|
before_script:
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ const renderToString = () => {
|
|||||||
* where possible.
|
* where possible.
|
||||||
*/
|
*/
|
||||||
const resolve = ({ className, style = {} }) => {
|
const resolve = ({ className, style = {} }) => {
|
||||||
const props = StyleSheetRegistry.getStyleAsNativeProps(style, isRendered);
|
const props = StyleSheetRegistry.getStyleAsNativeProps(style, isRendered)
|
||||||
return {
|
return {
|
||||||
...props,
|
...props,
|
||||||
className: className ? `${props.className} ${className}`.trim() : props.className
|
className: className ? `${props.className} ${className}`.trim() : props.className
|
||||||
|
|||||||
Reference in New Issue
Block a user