Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 5, 2024
1 parent de22411 commit 3c5b224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/src/modules/wallet/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const useTipModal = ({
toast.error("Invalid feed id or entry id")
return
}
window.posthog?.capture("tip_modal_opened", { feedId })
window.posthog?.capture("tip_modal_opened", { entryId })
present({
title: "Tip Power",
content: () => createElement(TipModalContent, { userId, feedId, entryId }),
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/queries/wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const useWalletTipMutation = () =>
wallet.transactions.get().invalidate()
window.posthog?.capture("tip_sent", {
amount: variables.amount,
feedId: variables.feedId,
entryId: variables.entryId,
})
toast("🎉 Tipped.")
},
Expand Down

0 comments on commit 3c5b224

Please sign in to comment.