Skip to content

Commit

Permalink
made observation card clickable on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyphen Frox committed Sep 24, 2021
1 parent 4d3e1ba commit 3956dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ObservationCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function ObservationCard(props) {
return (
<Card
className={classes.observationCard}
onClick={isDesktop ? handleCardClick(observationData.id) : null}
onClick={handleCardClick(observationData.id)}
{...args}
>
<CardContent>
Expand Down

0 comments on commit 3956dfc

Please sign in to comment.