Fix deprecation warning from Github Buttons on website (#3783)

Using data-show-count instead of data-count-api.
This commit is contained in:
TheDancingCode authored and Jed Fox committed 2018-01-22 07:56:28 -05:00
1 parent 08b9e07207
commit b0ad6ec9c3
1 file changed
+1 -3
+1 -3
View File
@@ -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