Skip to content

Commit

Permalink
fix: support github fine-grained tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramk committed Jan 11, 2024
1 parent 96bf2ad commit 252fe68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion nerdlets/github-about/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ export default class Setup extends React.PureComponent {
<StackItem>
<Button
onClick={() => setUserToken(userToken)}
disabled={!userToken || (userToken.length !== 40 && userToken.length !== 93)}
disabled={
!userToken ||
(userToken.length !== 40 && userToken.length !== 93)
}
type="primary"
>
Set Your GitHub Token
Expand Down

0 comments on commit 252fe68

Please sign in to comment.