Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract the dropdown menu from VRF v2 cost calculator (smartcontractk…
…it#1446) * extract-dropdown * remove mainChainName useState * improve useQueryString hook * improve getNetworkFromQueryString * return null * Remove useless DropdownMenu component + fill dropdown input with latest selected network on reload * Refactor CostTable component to fix bugs in getting state values * Fix bug where API call was made with undefined or null input * Add additional states to reducer state to have a single source of truth * Implement throttle for API calls * Remove logging * WIP to fix API call rate limit bug * Fixed issue where loading text did not appear when a network was selected for the first time + Added condition to render costTable only when network is defined * Use env variables to get VRF calculator API url + clean code * Remove comments in methodCheckbox component * Fix type errors in CostTable.test.ts file * Empty commit * account test * new email set * empty commit * Empty commit * Use env variable in costTable test file * Remove env variable use * fix lint issue * Update src/features/data/chains.ts --------- Co-authored-by: Yacine Benichou <[email protected]> Co-authored-by: Yacine Benichou <[email protected]> Co-authored-by: Yacine Benichou <[email protected]>
- Loading branch information