Skip to content

Commit

Permalink
fix: type check on providers list
Browse files Browse the repository at this point in the history
  • Loading branch information
beths-ledger authored and jdabbech-ledger committed Feb 19, 2024
1 parent 0a72428 commit f22c928
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ export function EvmStakingDrawer() {

const has32Eth = drawer.props.has32Eth ?? false;

const listProvidersSorted = providers.sort(has32Eth ? descending : ascending);
const listProvidersSorted = ethStakingProviders.params!.listProvider.sort(
has32Eth ? descending : ascending,
);

return (
<QueuedDrawer isRequestingToBeOpened={isOpen} onClose={onClose} onModalHide={onModalHide}>
Expand Down

0 comments on commit f22c928

Please sign in to comment.