Skip to content

Instantly share code, notes, and snippets.

@alexleventer
Created February 13, 2016 21:53
Show Gist options
  • Save alexleventer/a7a3df2ca78fd3095fb6 to your computer and use it in GitHub Desktop.
Save alexleventer/a7a3df2ca78fd3095fb6 to your computer and use it in GitHub Desktop.
/app/public/components/HaulRow.js:12
2016-02-13T21:33:27.736771+00:00 app[web.1]: at ReactCompositeComponentMixin._renderValidatedComponentWithoutOwnerOrContext (/app/node_modules/react/lib/ReactCompositeComponent.js:587:34)
2016-02-13T21:33:27.736766+00:00 app[web.1]: ^
2016-02-13T21:33:27.727740+00:00 app[web.1]: Warning: Failed propType: Invalid prop `match` of type `function` supplied to `HaulRow`, expected `object`. Check the render method of `Dashboard`.
2016-02-13T21:33:27.723845+00:00 app[web.1]: Warning: Failed propType: Invalid prop `pastHauls` of type `array` supplied to `Dashboard`, expected `string`.
2016-02-13T21:33:27.736769+00:00 app[web.1]: at React.createClass.renderBookButton (/app/public/components/HaulRow.js:12:91)
2016-02-13T21:33:27.736770+00:00 app[web.1]: at React.createClass.render (/app/public/components/HaulRow.js:31:10)
2016-02-13T21:33:27.736772+00:00 app[web.1]: at ReactCompositeComponentMixin._renderValidatedComponent (/app/node_modules/react/lib/ReactCompositeComponent.js:607:32)
2016-02-13T21:33:27.736773+00:00 app[web.1]: at wrapper [as _renderValidatedComponent] (/app/node_modules/react/lib/ReactPerf.js:66:21)
2016-02-13T21:33:27.736762+00:00 app[web.1]: return(React.createElement("a", {href: "/finalize/" + this.props.haul? this.props.haul._id : ""}, React.createElement("div", {className: "bookedButton"}, "Book Now")));
2016-02-13T21:33:27.736775+00:00 app[web.1]: at Object.ReactReconciler.mountComponent (/app/node_modules/react/lib/ReactReconciler.js:37:35)
2016-02-13T21:33:27.736776+00:00 app[web.1]: at ReactDOMComponent.ReactMultiChild.Mixin.mountChildren (/app/node_modules/react/lib/ReactMultiChild.js:241:44)
2016-02-13T21:33:27.736774+00:00 app[web.1]: at wrapper [as mountComponent] (/app/node_modules/react/lib/ReactPerf.js:66:21)
2016-02-13T21:33:27.736777+00:00 app[web.1]: at ReactDOMComponent.Mixin._createContentMarkup (/app/node_modules/react/lib/ReactDOMComponent.js:591:32)
2016-02-13T21:33:27.736768+00:00 app[web.1]: TypeError: Cannot read property '_id' of undefined
2016-02-13T21:33:27.736773+00:00 app[web.1]: at ReactCompositeComponentMixin.mountComponent (/app/node_modules/react/lib/ReactCompositeComponent.js:220:30)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment