Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
quangdz1704 committed Jul 19, 2024
1 parent 44dd237 commit c70099f
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions components/page/bridge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -570,17 +570,9 @@ const Bridge = () => {
<button
disabled={loading || !token || !amount || isInsufficientBalance}
onClick={() => {
// fromNetwork.id === "Ton"
// ? handleBridgeFromTon()
// : handleBridgeFromOraichain();
const mp = getMixPanelClient();
const logEvent = {
fromNetwork,
toNetwork,
token,
amount,
};
mp.track("Bridge Ton Oraidex", logEvent);
fromNetwork.id === "Ton"
? handleBridgeFromTon()
: handleBridgeFromOraichain();
}}
className={styles.bridgeBtn}
>
Expand Down

0 comments on commit c70099f

Please sign in to comment.