fix: types
This commit is contained in:
parent
de22411dab
commit
3c5b224904
|
|
@ -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 }),
|
||||
|
|
|
|||
|
|
@ -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.")
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue