File tree Expand file tree Collapse file tree 2 files changed +1
-23
lines changed
Expand file tree Collapse file tree 2 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -181,28 +181,6 @@ const CoinDetails = async ({ params }: { params: Promise<{ id: string }> }) => {
181181 </ div >
182182 </ div >
183183
184- { /* Top Gainers */ }
185- { /* <div className='space-y-6 mt-8'>
186- <h4 className='section-title'>Top Gainers</h4>
187- <div className='top-gainers-list'>
188- {topGainersLosers.top_gainers.map(
189- (coin: TopGainersLosersResponse) => (
190- <CoinCard
191- key={coin.id}
192- id={coin.id}
193- name={coin.name}
194- symbol={coin.symbol}
195- image={coin.image}
196- price={coin.usd}
197- priceChangePercentage24h={coin.usd_24h_change}
198- volume24={coin.usd_24h_vol}
199- rank={coin.market_cap_rank}
200- />
201- )
202- )}
203- </div>
204- </div> */ }
205-
206184 < Tabs defaultValue = 'top-gainers' className = 'mt-8 w-full' >
207185 < TabsList className = 'size-full p-1 bg-transparent border-b border-dark-500 rounded-none ' >
208186 < TabsTrigger
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export function useCoinGeckoWebSocket({
5555 amount : msg . to ,
5656 } ;
5757
58- setTrades ( ( prev ) => [ newTrade , ...prev ] . slice ( 0 , 10 ) ) ;
58+ setTrades ( ( prev ) => [ newTrade , ...prev ] . slice ( 0 , 7 ) ) ;
5959 }
6060 // G3: OHLCV updates
6161 if ( msg . ch === 'G3' ) {
You can’t perform that action at this time.
0 commit comments