Open seveibar opened 1 day ago
/bounty $10
/attempt #197
with your implementation plan/claim #197
in the PR body to claim the bountyThank you for contributing to tscircuit/snippets!
Add a bounty • Share on socials
Attempt | Started (GMT+0) | Solution |
---|---|---|
🟢 @RohittCodes | Nov 13, 2024, 7:52:10 AM | #202 |
/attempt #197
Algora profile | Completed bounties | Tech | Active attempts | Options |
---|---|---|---|---|
@RohittCodes | 1 tscircuit bounty | JavaScript, TypeScript, HTML & more |
Cancel attempt |
should i create another route for it? the initial one would be good enough to handle the add, and remove logic if it's not starred. like toggle the button to star and remove the star.
and it may not need much work on the frontend too. @seveibar
💡 @RohittCodes submitted a pull request that claims the bounty. You can visit your bounty board to reward.
Sometimes we want to unstar things instead of starring them
Note that the api is supposed to return
snippet.is_starred
to indicate that the current user starred the snippet