Skip to content

Commit

Permalink
chore(lib): remove dangling comma for restProps
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed Apr 20, 2017
1 parent 86433c1 commit 83b1e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/async/withScriptjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default function withScriptjs(WrappedComponent) {
const {
loadingElement,
googleMapURL, // eslint-disable-line no-unused-vars
...restProps,
...restProps
} = this.props;

const {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/withGoogleMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function withGoogleMap(WrappedComponent) {
const {
containerElement,
mapElement,
...restProps,
...restProps
} = this.props;

const {
Expand Down

0 comments on commit 83b1e1b

Please sign in to comment.