Skip to content

Instantly share code, notes, and snippets.

@kwekuboateng
Created July 22, 2017 21:03
Show Gist options
  • Save kwekuboateng/bd936ddc8f666efbc60461a8e211ab7c to your computer and use it in GitHub Desktop.
Save kwekuboateng/bd936ddc8f666efbc60461a8e211ab7c to your computer and use it in GitHub Desktop.
onAddRow error
TypeError: Cannot read property 'props' of undefined
onAddRow
src/Components/Dashboard/ManageProduct.js:84
81 | }
82 |
83 | onAddRow(row){
> 84 | this.props.addNewProduct(row)
85 | }
86 |
87 | createCustomInsertButton = (onClick) => {
View compiled
▶ 22 stack frames were collapsed.
This screen is visible only in development. It will not appear if the app crashes in production.
Open your browser’s developer console to further inspect this error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment