diff --git a/src/app/pages/OpenWalletPage/webextension.tsx b/src/app/pages/OpenWalletPage/webextension.tsx index 2094358a20..225d6ba0e2 100644 --- a/src/app/pages/OpenWalletPage/webextension.tsx +++ b/src/app/pages/OpenWalletPage/webextension.tsx @@ -1,10 +1,18 @@ import React from 'react' -import { useHref } from 'react-router-dom' +import { useHref, useNavigate } from 'react-router-dom' import { openLedgerAccessPopup } from 'utils/webextension' import { FromLedger } from './Features/FromLedger' export function FromLedgerWebExtension() { const href = useHref('/open-wallet/connect-device') + const navigate = useNavigate() - return openLedgerAccessPopup(href)} /> + return ( + { + navigate('/open-wallet/ledger/usb') + openLedgerAccessPopup(href) + }} + /> + ) }