Skip to content

Commit ea5e580

Browse files
authored
fix: adjust transfer conditions (#746)
1 parent ba10987 commit ea5e580

File tree

2 files changed

+2
-2
lines changed
  • packages/adena-extension/src/pages/popup/wallet

2 files changed

+2
-2
lines changed

packages/adena-extension/src/pages/popup/wallet/nft-transfer-summary/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ const NFTTransferSummaryContainer: React.FC = () => {
134134
}, [summaryInfo, currentAccount, currentNetwork, networkFee]);
135135

136136
const transfer = async (): Promise<boolean> => {
137-
if (isSent || !currentAccount || !hasNetworkFee) {
137+
if (isSent || !currentAccount || !hasNetworkFee || useNetworkFeeReturn.isLoading) {
138138
return false;
139139
}
140140

packages/adena-extension/src/pages/popup/wallet/transfer-summary/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ const TransferSummaryContainer: React.FC = () => {
207207
]);
208208

209209
const transfer = async (): Promise<boolean> => {
210-
if (isSent || !currentAccount || !hasNetworkFee || !isNetworkFeeError) {
210+
if (isSent || !currentAccount || !hasNetworkFee || useNetworkFeeReturn.isLoading) {
211211
return false;
212212
}
213213

0 commit comments

Comments
 (0)