My problem is similar to this thread where I don\'t want the user to be able to click down to the next level, but I am using React, and im not sure how to implement that solutio