Commit 590b0dba authored by Igor Stuev's avatar Igor Stuev Committed by GitHub

erc20 query fix (#2383)

parent 3cf971f0
...@@ -68,7 +68,7 @@ const AddressTokens = ({ shouldRender = true, isQueryEnabled = true }: Props) => ...@@ -68,7 +68,7 @@ const AddressTokens = ({ shouldRender = true, isQueryEnabled = true }: Props) =>
filters: { type: 'ERC-20' }, filters: { type: 'ERC-20' },
scrollRef, scrollRef,
options: { options: {
enabled: isQueryEnabled && (!tab || tab === 'tokens_erc20'), enabled: isQueryEnabled && (!tab || tab === 'tokens' || tab === 'tokens_erc20'),
refetchOnMount: false, refetchOnMount: false,
placeholderData: generateListStub<'address_tokens'>(ADDRESS_TOKEN_BALANCE_ERC_20, 10, { next_page_params: null }), placeholderData: generateListStub<'address_tokens'>(ADDRESS_TOKEN_BALANCE_ERC_20, 10, { next_page_params: null }),
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment