Skip to content

Commit 4be833a

Browse files
authored
Update index.jsx
1 parent 0318d13 commit 4be833a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/components/ProfilePage/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class ProfilePage extends React.Component {
192192
info={info}
193193
onShowBadges={() => this.setState({ badgesModalOpen: true })}
194194
showBadgesButton={achievements && achievements.length > 0}
195-
wins={_.get(stats, 'wins', 0)}
195+
wins={_.get(stats && stats[0] || {}, 'wins', 0)}
196196
/>
197197
</div>
198198
</Sticky>

0 commit comments

Comments
 (0)