diff --git a/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js b/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js index f78ae86a9..472a2cc0f 100644 --- a/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js +++ b/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js @@ -108,7 +108,7 @@ function arrayContains(array: Array, value: T): boolean { function createErrorFromErrorData(errorData: {message: string}): Error { const { message, - ...extraErrorInfo, + ...extraErrorInfo } = errorData; const error = new Error(message); (error:any).framesToPop = 1; diff --git a/Libraries/CustomComponents/ListView/ListView.js b/Libraries/CustomComponents/ListView/ListView.js index 2b75380ac..04e336dc4 100644 --- a/Libraries/CustomComponents/ListView/ListView.js +++ b/Libraries/CustomComponents/ListView/ListView.js @@ -454,7 +454,7 @@ var ListView = React.createClass({ var { renderScrollComponent, - ...props, + ...props } = this.props; if (!props.scrollEventThrottle) { props.scrollEventThrottle = DEFAULT_SCROLL_CALLBACK_THROTTLE; diff --git a/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js b/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js index ba66351e1..887123fbc 100644 --- a/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js +++ b/Libraries/CustomComponents/NavigationExperimental/NavigationCard.js @@ -82,7 +82,7 @@ class NavigationCard extends React.Component { pointerEvents, renderScene, style, - ...props, /* NavigationSceneRendererProps */ + ...props /* NavigationSceneRendererProps */ } = this.props; const viewStyle = style === undefined ?