From 23ff190629e596fb63217476302a385242466eed Mon Sep 17 00:00:00 2001 From: Kai Chen Date: Wed, 24 Oct 2018 19:38:57 -0700 Subject: [PATCH] nav.jsx: Remove menu to star repo Remove the menu item for starring the repository. Closes https://github.com/coala/gh-board/issues/90 --- src/components/app/nav.jsx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/components/app/nav.jsx b/src/components/app/nav.jsx index 9086f685..4eb1d489 100644 --- a/src/components/app/nav.jsx +++ b/src/components/app/nav.jsx @@ -72,14 +72,6 @@ class AppNav extends Component { CurrentUserStore.clear(); }; - starThisProject = () => { - Client.getOcto().user.starred('philschatz/gh-board').add().then(() => { - /*eslint-disable no-alert */ - alert('Thanks for starring!\n I hope you enjoy the other pages more than this simple alert, but thank you for helping me out!'); - /*eslint-enable no-alert */ - }); - }; - promptAndResetDatabases = () => { if (confirm('Are you sure you want to reset all the local data? It will take some time to repopulate all the data from GitHub and you may need to reload the page')) { Database.resetDatabases().then(() => { @@ -131,9 +123,8 @@ class AppNav extends Component { loginButton = ( Signed in as {info.login} - Click to the gh-board repo if you like this project - - Sign Out + + Sign Out ); } else {