Closed umutdenizsenerr closed 1 year ago
Delete function works fine. After delete a comment, page is re-rendered and users can view non-deleted comments. I also checked whether a user is able to delete comment of another users. As we desired, he/she can not delete comment of another users. I also checked ../api file and API calls. All of them are fine. Thanks for your contribution.
I have created Comment structure before with delete button. Now i have connected it to backend, in order to make delete button functional. Also, user can only delete its own posts.