Fix deprecation warning from Github Buttons on website (#3783)
Using data-show-count instead of data-count-api.
This commit is contained in:
1 parent
08b9e07207
commit
b0ad6ec9c3
1 file changed
+1
-3
@@ -7,9 +7,7 @@ const GithubButton = props => (
|
||||
className="github-button"
|
||||
href={props.config.githubUrl}
|
||||
data-icon="octicon-star"
|
||||
data-count-href={`/${props.config.repo}/stargazers`}
|
||||
data-count-api={`/repos/${props.config.repo}#stargazers_count`}
|
||||
data-count-aria-label="# stargazers on GitHub"
|
||||
data-show-count="true"
|
||||
aria-label="Star this project on GitHub"
|
||||
>
|
||||
Star
|
||||
|
||||
Reference in new issue
Block a user