In the file https://github.com/viktorpts/js-apps-workshop/blob/master/lesson-04/finished/src/app.js , after line #72, have to be pasted the line
sessionStorage.removeItem('userId');
... to fix that the last logged-on user cannot edit or delete its posted recipe, after logging-out.
In the file https://github.com/viktorpts/js-apps-workshop/blob/master/lesson-04/finished/src/app.js , after line #72, have to be pasted the line
sessionStorage.removeItem('userId');... to fix that the last logged-on user cannot edit or delete its posted recipe, after logging-out.