Skip to content

Commit 87c3155

Browse files
authored
fix: fix super long tooltip (#2078)
1 parent 825254a commit 87c3155

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

apps/namadillo/src/App/Common/TransactionReceipt.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ const TransferTransactionReceipt = ({
8585
<SelectedWallet
8686
wallet={sourceWallet}
8787
address={transaction.sourceAddress}
88+
displayTooltip={!transaction.sourceAddress?.includes("shielded")}
8889
/>
8990
)}
9091
</header>

apps/namadillo/src/App/Ibc/IbcWithdraw.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export const IbcWithdraw = (): JSX.Element => {
7979
const [txHash, setTxHash] = useState<string | undefined>();
8080
const [destinationChain, setDestinationChain] = useState<Chain | undefined>();
8181
const { refetch: genDisposableSigner } = useAtomValue(disposableSignerAtom);
82-
82+
const alias = shieldedAccount?.alias ?? transparentAccount.data?.alias;
8383
const chainTokens = useAtomValue(chainTokensAtom);
8484

8585
const { data: availableAssets, isLoading: isLoadingAssets } = useAtomValue(
@@ -284,7 +284,7 @@ export const IbcWithdraw = (): JSX.Element => {
284284
memo: tx.encodedTxData.wrapperTxProps.memo || props.memo,
285285
displayAmount,
286286
shielded,
287-
sourceAddress: props.source,
287+
sourceAddress: `${alias} - shielded`,
288288
sourceChannel: props.channelId,
289289
destinationAddress: props.receiver,
290290
createdAt: new Date(),

apps/namadillo/src/App/Transactions/TransactionHistory.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ export const TransactionHistory = (): JSX.Element => {
192192
},
193193
{
194194
id: "bond",
195-
value: "Bond",
196-
ariaLabel: "Bond",
195+
value: "Stake",
196+
ariaLabel: "Stake",
197197
},
198198
]}
199199
/>

0 commit comments

Comments
 (0)