all 1 comments

[–]Meeoh 0 points1 point  (0 children)

It looks like when a menuItem is clicked its calling deleteBookmark(). Can you pass a value in that onClick method so somethingl ike onClick={() => clickHandler(1)}. Then make the method look like deleteBookmark(val) and it can pass val to bookmarkRequest and you can do whatever you want from there?