Skip to content

Commit

Permalink
fix(umami): add proper umami event titles
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Dec 26, 2023
1 parent bbbec25 commit 01f68aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/interaction-modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ export function InteractionModal() {
<div className="flex justify-end gap-1">
<button
onClick={cancel}
data-umami-event="Save pomodoro config"
data-umami-event="Cancel combo"
className="rounded-lg px-5 py-3 text-lg leading-none text-red-950 transition-colors hover:bg-red-900 hover:text-red-100"
>
Cancel
</button>
<button
onClick={closeModal}
data-umami-event="Save pomodoro config"
data-umami-event="Play combo"
className="rounded-lg bg-green-100 px-5 py-3 text-lg leading-none text-green-950 transition-colors hover:bg-green-900 hover:text-green-100"
>
Play
Expand Down
2 changes: 1 addition & 1 deletion src/components/share-button/confirmation-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function ConfirmationModal({ showModal, setShowModal }: Props) {
<div className="flex justify-end gap-1">
<button
onClick={closeModal}
data-umami-event="Save pomodoro config"
data-umami-event="Confirm copy combo URL"
className="w-full rounded-lg bg-dark-background/10 px-5 py-4 text-lg leading-none text-dark-background transition-colors hover:bg-dark-background hover:text-light-background md:w-fit md:py-3"
>
Ok, thanks!
Expand Down

0 comments on commit 01f68aa

Please sign in to comment.