Skip to content

Commit

Permalink
chore: rebase hell
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Mar 4, 2024
1 parent dce193f commit e35d2c6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 16 deletions.
12 changes: 6 additions & 6 deletions src/app/pages/receive/components/receive-collectibles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { css } from 'leather-styles/css';
import { Stack } from 'leather-styles/jsx';

import { copyToClipboard } from '@app/common/utils/copy-to-clipboard';
import { StxAvatar } from '@app/components/crypto-assets/stacks/components/stx-avatar';
import { StampsIcon } from '@app/ui/components/avatar-icon//stamps-icon';
import { OrdinalIcon } from '@app/ui/components/avatar-icon/ordinal-icon';
import { OrdinalAvatarIcon } from '@app/ui/components/avatar/ordinal-avatar-icon';
import { StampsAvatarIcon } from '@app/ui/components/avatar/stamps-avatar-icon';
import { StxAvatarIcon } from '@app/ui/components/avatar/stx-avatar-icon';

import { receiveTabStyle } from '../receive-dialog';
import { ReceiveItem } from './receive-item';
Expand All @@ -30,22 +30,22 @@ export function ReceiveCollectibles({
<Stack className={css(receiveTabStyle)}>
<ReceiveItem
address={btcAddressTaproot}
icon={<OrdinalIcon />}
icon={<OrdinalAvatarIcon />}
dataTestId={HomePageSelectors.ReceiveBtcTaprootQrCodeBtn}
onCopyAddress={() => copyToClipboard(btcAddressTaproot)}
onClickQrCode={onClickQrOrdinal}
title="Ordinal inscription"
/>
<ReceiveItem
address={btcAddressNativeSegwit}
icon={<StampsIcon />}
icon={<StampsAvatarIcon />}
onClickQrCode={onClickQrStamp}
onCopyAddress={() => copyToClipboard(btcAddressNativeSegwit)}
title="Bitcoin Stamp"
/>
<ReceiveItem
address={stxAddress}
icon={<StxAvatar />}
icon={<StxAvatarIcon />}
onCopyAddress={() => copyToClipboard(stxAddress)}
onClickQrCode={onClickQrStacksNft}
title="Stacks NFT"
Expand Down
8 changes: 4 additions & 4 deletions src/app/pages/receive/components/receive-tokens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { css } from 'leather-styles/css';
import { Stack } from 'leather-styles/jsx';

import { copyToClipboard } from '@app/common/utils/copy-to-clipboard';
import { StxAvatar } from '@app/components/crypto-assets/stacks/components/stx-avatar';
import { BtcIcon } from '@app/ui/components/avatar-icon/btc-icon';
import { BtcAvatarIcon } from '@app/ui/components/avatar/btc-avatar-icon';
import { StxAvatarIcon } from '@app/ui/components/avatar/stx-avatar-icon';

import { receiveTabStyle } from '../receive-dialog';
import { ReceiveItem } from './receive-item';
Expand All @@ -25,15 +25,15 @@ export function ReceiveTokens({
<Stack className={css(receiveTabStyle)}>
<ReceiveItem
address={btcAddressNativeSegwit}
icon={<BtcIcon />}
icon={<BtcAvatarIcon />}
dataTestId={HomePageSelectors.ReceiveBtcNativeSegwitQrCodeBtn}
onCopyAddress={() => copyToClipboard(btcAddressNativeSegwit)}
onClickQrCode={onClickQrBtc}
title="Bitcoin"
/>
<ReceiveItem
address={stxAddress}
icon={<StxAvatar />}
icon={<StxAvatarIcon />}
dataTestId={HomePageSelectors.ReceiveStxQrCodeBtn}
onCopyAddress={() => copyToClipboard(stxAddress)}
onClickQrCode={onClickQrStx}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TextInputFieldError } from '@app/components/field-error';

import { SelectAccountButton } from '../recipient-accounts-drawer/select-account-button';
import { SelectAccountButton } from '../recipient-accounts-dialog/select-account-button';
import { RecipientAddressTypeField } from '../recipient-address-type-field';
import { RecipientIdentifierTypeDropdown } from '../recipient-type-dropdown/recipient-type-dropdown';
import { useRecipientSelectFields } from './hooks/use-recipient-select-fields';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export function Brc20SendForm() {
}
autoComplete="off"
/>
<SelectedAssetField icon={<Brc20AvatarIcon />} name={tick} symbol={tick} />
<SelectedAssetField icon={<Brc20AvatarIcon />} name={ticker} symbol={ticker} />
<Callout variant="info" title="Sending BRC-20 tokens requires two steps">
<styled.ol mb="space.02">
<li>1. Create transfer inscription with amount to send</li>
Expand Down
4 changes: 0 additions & 4 deletions src/app/ui/components/dropdown-menu/dropdown-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,10 @@ const Group: typeof RadixDropdownMenu.Group = forwardRef((props, ref) => (

export const DropdownMenu = {
Root: RadixDropdownMenu.Root,
Group: RadixDropdownMenu.Group,
Portal: RadixDropdownMenu.Portal,
Trigger,
Button,
Portal: RadixDropdownMenu.Portal,
Group,
Trigger,
Button,
IconButton,
Content,
Label,
Expand Down

0 comments on commit e35d2c6

Please sign in to comment.