mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 15:20:55 +01:00
Update coinControl.js
This commit is contained in:
parent
5e6310d25f
commit
fbbc5e110b
1 changed files with 1 additions and 2 deletions
|
@ -330,6 +330,7 @@ const CoinControl = () => {
|
||||||
|
|
||||||
const handleUseCoin = async u => {
|
const handleUseCoin = async u => {
|
||||||
await bottomModalRef.current?.dismiss();
|
await bottomModalRef.current?.dismiss();
|
||||||
|
setOutput(null);
|
||||||
navigation.pop();
|
navigation.pop();
|
||||||
onUTXOChoose(u);
|
onUTXOChoose(u);
|
||||||
};
|
};
|
||||||
|
@ -394,8 +395,6 @@ const CoinControl = () => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (output) {
|
if (output) {
|
||||||
bottomModalRef.current?.present();
|
bottomModalRef.current?.present();
|
||||||
} else {
|
|
||||||
bottomModalRef.current?.dismiss();
|
|
||||||
}
|
}
|
||||||
}, [output]);
|
}, [output]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue