Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable "star this repo" button if user has already starred repo #66

Open
shu8 opened this issue Jul 27, 2020 · 0 comments
Open

Disable "star this repo" button if user has already starred repo #66

shu8 opened this issue Jul 27, 2020 · 0 comments

Comments

@shu8
Copy link
Owner

shu8 commented Jul 27, 2020

Currently, we only disable the button if the user presses the star button 'in front of us'. But on a refresh, that disappears.

I think it should be fairly possible to add the user's starred repos to the dynamic data fetched on the /fellow endpoint, and if a repo has been starred, disable the button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant