fix: 实时成交显示20条
This commit is contained in:
parent
f2ab9e4252
commit
871da720ab
@ -64,7 +64,7 @@ function LiveTrades({ symbol }: { symbol: Symbol }) {
|
||||
|
||||
const fetch = async () => {
|
||||
try {
|
||||
const res = await authFetch(`/api/trades/latest?symbol=${symbol}&limit=40`);
|
||||
const res = await authFetch(`/api/trades/latest?symbol=${symbol}&limit=20`);
|
||||
if (!res.ok) return;
|
||||
const data = await res.json();
|
||||
if (!running) return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user