Skip to content

Commit

Permalink
chore: use mixpanel index
Browse files Browse the repository at this point in the history
  • Loading branch information
0xApotheosis committed Jan 9, 2024
1 parent 5598f72 commit 07d9c71
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/components/SelectPair.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { useCallback, useMemo } from 'react'
import { FaArrowRightArrowLeft } from 'react-icons/fa6'
import { useNavigate } from 'react-router-dom'
import { BTCImage, ETHImage } from 'lib/const'
import { getMixPanel } from 'lib/mixpanel/mixpanelSingleton'
import { MixPanelEvent } from 'lib/mixpanel/types'
import { getMixPanel, MixPanelEvent } from 'lib/mixpanel'

import { AssetSelection } from './AssetSelection'

Expand Down
3 changes: 1 addition & 2 deletions src/components/TradeInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ import { useCallback, useMemo } from 'react'
import { FaArrowRightArrowLeft } from 'react-icons/fa6'
import { useNavigate } from 'react-router-dom'
import { BTCImage, ETHImage } from 'lib/const'
import { getMixPanel } from 'lib/mixpanel/mixpanelSingleton'
import { MixPanelEvent } from 'lib/mixpanel/types'
import { getMixPanel, MixPanelEvent } from 'lib/mixpanel'

import { Amount } from './Amount/Amount'

Expand Down
2 changes: 2 additions & 0 deletions src/lib/mixpanel/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './mixpanelSingleton'
export * from './types'

0 comments on commit 07d9c71

Please sign in to comment.