mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-24 06:51:23 +00:00
return full tokens array
This commit is contained in:
parent
de5478aed0
commit
c0702d32a8
@ -44,10 +44,7 @@ export const load = ($input: string, network: string): AsyncAction => async (
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (result.length > 0) {
|
if (result.length > 0) {
|
||||||
// TODO: Temporary fix for async select
|
return result;
|
||||||
// async react-select starts getting very laggy
|
|
||||||
// when options is a large list (>200 items)
|
|
||||||
return result.slice(0, 100);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const info = await dispatch(BlockchainActions.getTokenInfo(input, network));
|
const info = await dispatch(BlockchainActions.getTokenInfo(input, network));
|
||||||
|
Loading…
Reference in New Issue
Block a user