Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1317 from benetech/feature/#1206
Browse files Browse the repository at this point in the history
#1206 - remove incorrect event
  • Loading branch information
rupeshparab authored Jul 21, 2020
2 parents 847b29b + d00332f commit dd2753e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PageIndex/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,12 @@ class Index extends Component {
<a
className="btn d-flex"
href={this.getLink(problemSet, isRecent)}
onClick={isExample ? this.openExampleProblem() : this.openPremadeSet(
onClick={isExample ? this.openExampleProblem : this.openPremadeSet(
problemSet,
)}
onKeyPress={
passEventForKeys(
isExample ? this.openExampleProblem() : this.openPremadeSet(problemSet),
isExample ? this.openExampleProblem : this.openPremadeSet(problemSet),
)
}
>
Expand Down

0 comments on commit dd2753e

Please sign in to comment.