You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A small update at the end of KanbanBoardContainer.js on chapter 4 is needed.
In cardCallbacks prop, only persistCardDrag contains .bind(this) at the end.
As such, moving a card will throw the standard error of 'cards is undefined', since the calling context is wrong. So, KanbanBoardContainer.js should end like this:
Hi Cássio,
A small update at the end of KanbanBoardContainer.js on chapter 4 is needed.
In
cardCallbacks
prop, onlypersistCardDrag
contains.bind(this)
at the end.As such, moving a card will throw the standard error of 'cards is undefined', since the calling context is wrong. So,
KanbanBoardContainer.js
should end like this:Last, but not least, thank you very much for the book! :-)
The text was updated successfully, but these errors were encountered: