Skip to content

Commit a4ba204

Browse files
committed
Added missing vote count
1 parent 95c3405 commit a4ba204

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

part1/anecdotes/src/App.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const App = () => {
4848
</div>
4949
<h1>Anecdote with most votes</h1>
5050
<p>{anecdotes[mostVoted]}</p>
51+
<p>has {points[mostVoted]} votes</p>
5152
</div>
5253
)
5354
}

0 commit comments

Comments
 (0)