Skip to content

Commit

Permalink
fix: click learn more winner (#590)
Browse files Browse the repository at this point in the history
* fix: open terms and package.json details

* fix: open github commit from current version

* feat: set matomo env vars

* feat: parse matomo project id

* feat: add trackEvents

* feat: set VITE_MATOMO_PROJECT_ID 1 by default

* fix: remove debugs

* fix: update status page

* feat: multiple winners

* fix: winner learn more
  • Loading branch information
jimcase committed Sep 23, 2024
1 parent 7762d57 commit 5cc4c50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const ViewReceipt: React.FC<ViewReceiptProps> = ({ categoryId, close }) => {
eventBus.publish(EventName.ShowToast, r.message, ToastType.Error);
return;
}
if (JSON.stringify(r) === JSON.stringify(receipts[categoryId])) {
if (JSON.stringify(r) === JSON.stringify(receipt)) {
eventBus.publish(
EventName.ShowToast,
"No changes detected in the receipt",
Expand Down
2 changes: 1 addition & 1 deletion ui/summit-2024/src/pages/Categories/components/Winners.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ const Winners: React.FC<WinnersProps> = ({
return (
<Typography
onClick={(event: React.MouseEvent<HTMLDivElement, MouseEvent>) =>
handleLearnMoreClick(event, "")
handleLearnMoreClick(event, winner.id)
}
align="center"
mt={2}
Expand Down

0 comments on commit 5cc4c50

Please sign in to comment.