Skip to content

Commit

Permalink
fix: added share modal check to be shown on deposit txn submission only
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantwasthere committed Aug 17, 2024
1 parent 61079b7 commit ae51106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TxButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export default function TxButton(props: TxButtonProps) {
address,
});
writeAsync().then((tx) => {
onOpen();
if (props.text.includes('Deposit')) onOpen();
mixpanel.track('Submitted tx', {
txHash: tx.transaction_hash,
address,
Expand Down

0 comments on commit ae51106

Please sign in to comment.