We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ba317b commit dba3435Copy full SHA for dba3435
src/index.js
@@ -15,13 +15,11 @@ const octokit = new Octokit();
15
class ProfileComponent extends React.Component {
16
render() {
17
return (
18
- <Profile>
+ <Profile href={this.props.url}>
19
<Photo src={this.props.avatar_url} />
20
<Intro>
21
<Name>{this.props.name}</Name>
22
- <Subtitle>
23
- <a href={this.props.url}>{this.props.url}</a>
24
- </Subtitle>
+ <Subtitle>Contributions: {this.props.contributions}</Subtitle>
25
</Intro>
26
</Profile>
27
);
@@ -95,6 +93,7 @@ export default class Contributors extends React.Component {
95
93
avatar_url={contributor.avatar_url}
96
94
name={contributor.login}
97
url={contributor.html_url}
+ contributions={contributor.contributions}
98
/>
99
100
})
0 commit comments