Skip to content

Commit

Permalink
chore: fix type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters authored and fbwoolf committed Nov 22, 2023
1 parent 91403d7 commit 98f5ddf
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Circle, CircleProps, Flex } from 'leather-styles/jsx';
import { token } from 'leather-styles/tokens';

import { BitcoinTx } from '@shared/models/transactions/bitcoin-transaction.model';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { BoxProps, Flex, HStack, styled } from 'leather-styles/jsx';
import { token } from 'leather-styles/tokens';

import type { Money } from '@shared/models/money.model';

Expand Down
1 change: 0 additions & 1 deletion src/app/components/fees-row/components/fees-row.layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useField } from 'formik';
import { HstackProps, styled } from 'leather-styles/jsx';
import { HStack } from 'leather-styles/jsx';
import { token } from 'leather-styles/tokens';

import { openInNewTab } from '@app/common/utils/open-in-new-tab';
import { SponsoredLabel } from '@app/components/sponsored-label';
Expand Down
3 changes: 1 addition & 2 deletions src/app/components/transaction/transaction-icon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { token } from 'leather-styles/tokens';
import FunctionIcon from 'mdi-react/FunctionIcon';

import { StacksTx } from '@shared/models/transactions/stacks-transaction.model';
Expand All @@ -19,7 +18,7 @@ export function TransactionIcon(props: { tx: StacksTx }) {
case 'token_transfer':
return <TokenTransferIcon tx={tx} />;
case 'contract_call':
return <FunctionIcon size={token('sizes.xs')} />;
return <FunctionIcon />;
case 'poison_microblock':
return null;
default:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { AddressTransactionWithTransfers } from '@stacks/stacks-blockchain-api-types';
import { token } from 'leather-styles/tokens';

import { logger } from '@shared/logger';
import {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { AddressTransactionWithTransfers } from '@stacks/stacks-blockchain-api-types';
import { token } from 'leather-styles/tokens';

import {
StxTransfer,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import { useLocation, useNavigate } from 'react-router-dom';

import { token } from 'leather-styles/tokens';

import { Inscription as InscriptionType } from '@shared/models/inscription.model';
import { RouteUrls } from '@shared/route-urls';

Expand Down
2 changes: 0 additions & 2 deletions src/app/features/collectibles/components/bitcoin/stamp.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { token } from 'leather-styles/tokens';

import { openInNewTab } from '@app/common/utils/open-in-new-tab';
import { Stamp as BitcoinStamp } from '@app/query/bitcoin/stamps/stamps-by-address.query';
import { StampsIcon } from '@app/ui/components/icons/stamps-icon';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import StacksNftBns from '@assets/images/stacks-nft-bns.png';
import { token } from 'leather-styles/tokens';

import { StxIcon } from '@app/ui/components/icons/stx-icon';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Metadata as StacksNftMetadata } from '@hirosystems/token-metadata-api-client';
import { token } from 'leather-styles/tokens';

import { isValidUrl } from '@shared/utils/validate-url';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Outlet, useLocation, useNavigate } from 'react-router-dom';

import { Flex } from 'leather-styles/jsx';
import { token } from 'leather-styles/tokens';

import { RouteUrls } from '@shared/route-urls';

Expand Down

0 comments on commit 98f5ddf

Please sign in to comment.