diff --git a/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js b/Libraries/BatchedBridge/BatchedBridgedModules/NativeModules.js index f78ae86a937e6e..472a2cc0ff6cc9 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 2b75380acbb22a..04e336dc4c70ab 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 ba66351e13fec3..887123fbcc19fe 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 ?