From 83b1e1be7abfd09d8d6d42bfb3df7ef0fa1b20db Mon Sep 17 00:00:00 2001 From: Tom Chen Date: Thu, 20 Apr 2017 16:05:45 +0800 Subject: [PATCH] chore(lib): remove dangling comma for restProps --- src/lib/async/withScriptjs.js | 2 +- src/lib/withGoogleMap.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/async/withScriptjs.js b/src/lib/async/withScriptjs.js index 8ef9f975..3f63e743 100644 --- a/src/lib/async/withScriptjs.js +++ b/src/lib/async/withScriptjs.js @@ -79,7 +79,7 @@ export default function withScriptjs(WrappedComponent) { const { loadingElement, googleMapURL, // eslint-disable-line no-unused-vars - ...restProps, + ...restProps } = this.props; const { diff --git a/src/lib/withGoogleMap.js b/src/lib/withGoogleMap.js index 0564e712..43b0922c 100644 --- a/src/lib/withGoogleMap.js +++ b/src/lib/withGoogleMap.js @@ -71,7 +71,7 @@ export default function withGoogleMap(WrappedComponent) { const { containerElement, mapElement, - ...restProps, + ...restProps } = this.props; const {