Skip to content

Commit

Permalink
show wallet name when sending NFTs to self in app (#4194)
Browse files Browse the repository at this point in the history
  • Loading branch information
wentokay authored Jun 20, 2023
1 parent 040c44a commit a3f93f1
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
import type { BigNumber } from "ethers";

import { memo, Suspense } from "react";
import { Image, ActivityIndicator, Text } from "react-native";
import { ActivityIndicator, Image, Text } from "react-native";

import { Blockchain } from "@coral-xyz/common";
import {
useSolanaTransaction,
SolTransactionStep,
useSolanaTransaction,
useUser,
} from "@coral-xyz/recoil";
import { YStack } from "@coral-xyz/tamagui";
import { ErrorBoundary } from "react-error-boundary";

import {
Container,
Error,
Sending,
Header,
Container,
Sending,
} from "~components/BottomDrawerCards";
import { Table } from "~components/Table";
import {
AvatarUserNameAddress,
CurrentUserAvatarWalletNameAddress,
Margin,
PrimaryButton,
TokenAmountHeader,
CurrentUserAvatarWalletNameAddress,
AvatarUserNameAddress,
WalletAddressLabel,
} from "~components/index";

Expand Down Expand Up @@ -69,8 +69,8 @@ function ConfirmToken({
? "Send to your wallet"
: `Send to ${destination.username}`;

const destinationLabel = (destination.username ||
destination.walletName) as string;
const destinationLabel = (destination.walletName ||
destination.username) as string;

return (
<Container>
Expand Down Expand Up @@ -104,8 +104,8 @@ function ConfirmCollectible({
? "Send to your wallet"
: `Send to ${destination.username}`;

const destinationLabel = (destination.username ||
destination.walletName) as string;
const destinationLabel = (destination.walletName ||
destination.username) as string;

return (
<Container>
Expand Down

1 comment on commit a3f93f1

@vercel
Copy link

@vercel vercel bot commented on a3f93f1 Jun 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.