Skip to content

Commit

Permalink
chore: [ramp] updates dependency array for useCryptoCurrencies
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeweiler committed Sep 26, 2023
1 parent 57fcd8f commit 4cb71a1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/components/UI/Ramp/buy/hooks/useCryptoCurrencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ export default function useCryptoCurrencies() {
return filteredTokens;
}
return null;
}, [errorCryptoCurrencies, isFetchingCryptoCurrencies, sdkCryptoCurrencies]);
}, [
errorCryptoCurrencies,
isFetchingCryptoCurrencies,
sdkCryptoCurrencies,
selectedChainId,
]);

/**
* Select the native crypto currency of first of the list
Expand Down

0 comments on commit 4cb71a1

Please sign in to comment.