dennybritz/neal-react

Unknown prop `backgroundImage` on <div> tag

chrismwendt opened this issue · 0 comments

Use of {... this.props} is causing this error in the browser console:

Unknown prop `backgroundImage` on <div> tag

From https://facebook.github.io/react/warnings/unknown-prop.html

Are you using {...this.props} or cloneElement(element, this.props)? Your component is transferring its own props directly to a child element (eg. https://facebook.github.io/react/docs/transferring-props.html). When transferring props to a child component, you should ensure that you are not accidentally forwarding props that were intended to be interpreted by the parent component.