Skip to content

Commit

Permalink
De-structure coordinates prop to avoid passing to the div (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
NameFILIP committed May 19, 2020
1 parent 451161e commit acce2e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ module.exports = {
'func-style': 'off',

/* Use the 'query-string' module instead */
'no-restricted-imports': ['error', 'querystring']
'no-restricted-imports': ['error', 'querystring'],

'no-unused-vars': ['error', { args: 'none', 'ignoreRestSiblings': true }]
},
globals: {
Buffer: true,
Expand Down
2 changes: 1 addition & 1 deletion modules/overlays/src/html-overlay-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type Props = {

export default class HtmlOverlayItem extends React.Component<Props> {
render() {
const { x, y, children, style, ...props } = this.props;
const { x, y, children, style, coordinates, ...props } = this.props;

return (
//@ts-ignore
Expand Down

0 comments on commit acce2e1

Please sign in to comment.