diff --git a/src/app/components/crypto-assets/bitcoin/src20-token-asset-list/src20-token-asset-item.layout.tsx b/src/app/components/crypto-assets/bitcoin/src20-token-asset-list/src20-token-asset-item.layout.tsx index e2e669f1e92..afce8187d74 100644 --- a/src/app/components/crypto-assets/bitcoin/src20-token-asset-list/src20-token-asset-item.layout.tsx +++ b/src/app/components/crypto-assets/bitcoin/src20-token-asset-list/src20-token-asset-item.layout.tsx @@ -6,8 +6,8 @@ import { formatBalance } from '@app/common/format-balance'; import type { Src20Token } from '@app/query/bitcoin/stamps/stamps-by-address.query'; import { Src20AvatarIcon } from '@app/ui/components/avatar/src20-avatar-icon'; import { ItemLayout } from '@app/ui/components/item-layout/item-layout'; +import { Pressable } from '@app/ui/components/pressable/pressable'; import { BasicTooltip } from '@app/ui/components/tooltip/basic-tooltip'; -import { Pressable } from '@app/ui/pressable/pressable'; interface Src20TokenAssetItemLayoutProps { token: Src20Token; diff --git a/src/app/features/approver/approver-demo.tsx b/src/app/features/approver/approver-demo.tsx index 2156087fb30..831ccfe1899 100644 --- a/src/app/features/approver/approver-demo.tsx +++ b/src/app/features/approver/approver-demo.tsx @@ -1,9 +1,15 @@ +import { useNavigate } from 'react-router-dom'; + import { Box, Circle, styled } from 'leather-styles/jsx'; +import { RouteUrls } from '@shared/route-urls'; + import { Button } from '@app/ui/components/button/button'; import { Callout } from '@app/ui/components/callout/callout'; +import { Header } from '@app/ui/components/containers/headers/header'; import { Flag } from '@app/ui/components/flag/flag'; import { ItemLayout } from '@app/ui/components/item-layout/item-layout'; +import { Logo } from '@app/ui/components/logo'; import { Pressable } from '@app/ui/components/pressable/pressable'; import { BasicTooltip } from '@app/ui/components/tooltip/basic-tooltip'; import { TooltipProvider } from '@app/ui/components/tooltip/tooltip'; @@ -12,8 +18,17 @@ import { InfoCircleIcon } from '@app/ui/icons'; import { Approver } from './approver'; export function ApproverDemo() { + const navigate = useNavigate(); return ( +
+ navigate(RouteUrls.Home)} /> + + } + /> }> - - - - } - > - {homePageModalRoutes} - + + }> + + + + } + > + {homePageModalRoutes} + - } /> + } + /> + }> + {ledgerStacksTxSigningRoutes} + + } + /> + }> + {ledgerBitcoinTxSigningRoutes} + + } /> - } /> - }> {ledgerStacksTxSigningRoutes} - - } - /> - }> - {ledgerBitcoinTxSigningRoutes} - - } /> - {ledgerStacksTxSigningRoutes} + + }> + + + + } + /> + } /> + } /> + } /> + + + + } + > + } /> + } /> + } + /> - - }> - - - - } - /> - } /> - } /> - } /> - - - - } - > - } /> - } /> - } /> + {requestBitcoinKeysRoutes} + {requestStacksKeysRoutes} + + + + + } + /> + { + const { SetPasswordRoute } = await import( + '@app/pages/onboarding/set-password/set-password' + ); + return { Component: SetPasswordRoute }; + }} + /> - {requestBitcoinKeysRoutes} - {requestStacksKeysRoutes} - - - - - } - /> - { - const { SetPasswordRoute } = await import( - '@app/pages/onboarding/set-password/set-password' - ); - return { Component: SetPasswordRoute }; - }} - /> + + + + } + /> + + + + } + /> + + + + } + > + {ledgerJwtSigningRoutes} + - - - - } - /> - - - - } - /> - - - - } - > - {ledgerJwtSigningRoutes} - + + + + } + > + } /> + } /> + + + + + } + > + } /> + - - - - } - > - } /> - } /> - - - - - } - > - } /> - + {sendCryptoAssetFormRoutes} - {sendCryptoAssetFormRoutes} + + + + } + /> + }> + {leatherIntroDialogRoutes} + + - - + + navigate(RouteUrls.Home)} + /> + + } + /> + } + > + + } /> - }> - {leatherIntroDialogRoutes} - - {legacyRequestRoutes} {rpcRequestRoutes} } />