Skip to content

Commit

Permalink
Merge pull request #249 from bnb-chain/feat/sendConfirmPopup1230
Browse files Browse the repository at this point in the history
fix: Fix solana issue
  • Loading branch information
Halibao-Lala authored Jan 6, 2025
2 parents 06f1ab4 + 5b0ada0 commit a61b656
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export const TransferSummary = () => {
return null;
}, [getSortedReceiveAmount, transferActionInfo, sendValue]);

const isNative = useMemo(() => isNativeToken(toTokenInfo?.address), [toTokenInfo?.address]);
const isNative = useMemo(
() => isNativeToken(toTokenInfo?.address, toChain?.chainType),
[toTokenInfo?.address, toChain?.chainType],
);

return (
<Flex
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export const TransferButtonGroup = () => {
className="bccb-widget-transfer-button-container"
gap={'4px'}
mt={{ base: '8px', md: '16px' }}
flexDir={'column'}
>
<WalletButtonWrapper>
<TransferButton
Expand Down

0 comments on commit a61b656

Please sign in to comment.