vasansr / pro-mern-stack-2

Code listing for the book Pro MERN Stack, 2nd Edition
https://www.apress.com/book/9781484243909
333 stars 191 forks source link

Chapter 14, error when fetching data in server-side: 'showError is no… #43

Open shangchen0531 opened 3 years ago

shangchen0531 commented 3 years ago

…t a function'

Since 'showError' is the third parameter in function 'fetchData' of some components such as IssueList, there should be 'null' in the same place when passing cookie to the 'activeRoute.component.fetchData'.