Skip to content

Commit

Permalink
fix: fix bug displaying the same token list for blockchains with the …
Browse files Browse the repository at this point in the history
…same number of tokens
  • Loading branch information
Ikari-Shinji-re authored and mikasackermn committed Jul 2, 2024
1 parent 0cf3bd6 commit f4dc82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/embedded/src/components/TokenList/TokenList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function TokenList(props: PropTypes) {

useEffect(() => {
setTokens(list.slice(0, PAGE_SIZE));
}, [list.length]);
}, [list.length, selectedBlockchain]);

const renderList = () => {
if (!tokens.length && !!searchedFor) {
Expand Down

0 comments on commit f4dc82f

Please sign in to comment.