From c97625f7f743b4c9f8b601d09255d498d0331c40 Mon Sep 17 00:00:00 2001 From: QuanPT <77958905+quanpt239@users.noreply.github.com> Date: Tue, 22 Oct 2024 17:08:21 +0700 Subject: [PATCH] feat(scan): hide lucky wheel (#25) --- src/components/LuckyDraw/index.tsx | 1 + src/pages/UniversalSwap/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/LuckyDraw/index.tsx b/src/components/LuckyDraw/index.tsx index 82e1f8a3..a527cb7a 100644 --- a/src/components/LuckyDraw/index.tsx +++ b/src/components/LuckyDraw/index.tsx @@ -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'; diff --git a/src/pages/UniversalSwap/index.tsx b/src/pages/UniversalSwap/index.tsx index cb6dfb36..53898778 100644 --- a/src/pages/UniversalSwap/index.tsx +++ b/src/pages/UniversalSwap/index.tsx @@ -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); @@ -102,7 +102,7 @@ const Swap: React.FC = () => { setOpenBuy(true)} />
- + {/* */}