Skip to content

Commit

Permalink
chore: clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Mar 5, 2024
1 parent 780454c commit ae94da0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
18 changes: 7 additions & 11 deletions src/app/ui/components/containers/footers/footer.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Flex, styled } from 'leather-styles/jsx';

import { Button } from '@app/ui/components/button/button';

import { Link } from '../../link/link';
import { Footer as Component } from './footer';

const meta: Meta<typeof Component> = {
Expand Down Expand Up @@ -82,17 +83,13 @@ export function FooterWithText() {
<styled.span textStyle="caption.02" display="block" textAlign="left">
Leather Wallet will now be provided by Leather Wallet LLC [a subsidiary of Nassau Machines
Inc]. Please review and accept Leather Wallet{' '}
<styled.a href="https://leather.io/terms" textDecoration="underline" target="_blank">
<Link href="https://leather.io/terms" textDecoration="underline" target="_blank">
Terms of Service
</styled.a>{' '}
</Link>{' '}
and{' '}
<styled.a
href="https://leather.io/privacy-policy"
target="_blank"
textDecoration="underline"
>
<Link href="https://leather.io/privacy-policy" target="_blank" textDecoration="underline">
Privacy Policy
</styled.a>
</Link>
.
</styled.span>
</Flex>
Expand All @@ -108,16 +105,15 @@ export function FooterWithLink() {
</Button>

<Flex width="100%" justifyContent="center">
{/* use new <Link component here */}
<styled.a
<Link
href=""
target="_blank"
cursor="pointer"
textDecoration="underline"
textStyle="label.01"
>
View all addresses
</styled.a>
</Link>
</Flex>
</Component>
);
Expand Down
2 changes: 0 additions & 2 deletions src/shared/route-urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ export enum RouteUrls {
BitcoinContractList = '/bitcoin-contract-list',

// Modal routes
// ChangeTheme = 'change-theme',
EditNonce = 'edit-nonce',
// SelectNetwork = 'choose-network',
SignOutConfirm = 'sign-out',
RetrieveTaprootFunds = 'retrieve-taproot-funds',

Expand Down

0 comments on commit ae94da0

Please sign in to comment.