This is a code repository for the corresponding video tutorial. Using React, Node.js, Express & MongoDB you'll learn how to build a Full Stack MERN Application - from start to finish. The App is called "Memories" and it is a simple social media app that allows users to post interesting events that happened in their lives.
issue seems to be that the clear function sets currentId to 0, but the initial state of currentId might be null or another value. Also, make sure that the currentId is being set correctly.
issue seems to be that the clear function sets currentId to 0, but the initial state of currentId might be null or another value. Also, make sure that the currentId is being set correctly.