Skip to content

Commit

Permalink
feat(scan): hide lucky wheel (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
quanpt239 authored Oct 22, 2024
1 parent 0738f43 commit c97625f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/LuckyDraw/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* This comoponent is not used. It is only used in event. */
import { LuckyWheel } from '@lucky-canvas/react';
import { toDisplay, BigDecimal } from '@oraichain/oraidex-common';
import { isMobile } from '@walletconnect/browser-utils';
Expand Down
4 changes: 2 additions & 2 deletions src/pages/UniversalSwap/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import SwapComponent from './Swap';
import { initPairSwap } from './Swap/hooks/useFillToken';
import { NetworkFilter, calculateInflationFromApr, initNetworkFilter } from './helpers';
import styles from './index.module.scss';
import LuckyDraw from 'components/LuckyDraw';
// import LuckyDraw from 'components/LuckyDraw';

const cx = cn.bind(styles);

Expand Down Expand Up @@ -102,7 +102,7 @@ const Swap: React.FC = () => {
<AssetsTab networkFilter={networkFilter.value} openBuyModal={() => setOpenBuy(true)} />
</div>
<div className={cx('swap-col', 'w40')}>
<LuckyDraw />
{/* <LuckyDraw /> */}

<SwapComponent fromTokenDenom={fromTokenDenom} toTokenDenom={toTokenDenom} setSwapTokens={setSwapTokens} />
<div className={styles.powerBy}>
Expand Down

0 comments on commit c97625f

Please sign in to comment.