Add feature: remove-from-bookmark
Issue Addressed Fixes #155: The bookmark icon on the profile page was not functioning as a toggle button.
Summary This PR updates the bookmark icon functionality on the profile page. The icon now correctly acts as a toggle button, allowing users to add and remove their bookmarked snippets.
Changes Made
- Implemented toggle functionality for the bookmark icon on the profile page.
- Users can now remove bookmarked snippets by clicking the bookmark icon again.
Screenshots
@abhi9ab is attempting to deploy a commit to the notsoocool's projects Team on Vercel.
A member of the Team first needs to authorize it.
@abhi9ab sorry for reviewing it so late, can you only do one things, can you update the bookmarks state dynamically so that as soon as it is removed from bookmarked it gets removed dynamically.
@notsoocool Could you review the changes i have made