mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
Update viewEditMultisigCosigners.js
This commit is contained in:
parent
b3d480326f
commit
63604e83dc
@ -48,7 +48,7 @@ const isDesktop = getSystemName() === 'Mac OS X';
|
||||
const ViewEditMultisigCosigners = () => {
|
||||
const { colors } = useTheme();
|
||||
const { wallets, setWalletsWithNewOrder } = useContext(BlueStorageContext);
|
||||
const { navigate, goBack } = useNavigation();
|
||||
const { navigate } = useNavigation();
|
||||
const route = useRoute();
|
||||
const { walletId } = route.params;
|
||||
const w = useRef(wallets.find(wallet => wallet.getID() === walletId));
|
||||
@ -128,9 +128,7 @@ const ViewEditMultisigCosigners = () => {
|
||||
await wallet.fetchBalance();
|
||||
newWallets.push(wallet);
|
||||
setWalletsWithNewOrder(newWallets);
|
||||
goBack();
|
||||
goBack();
|
||||
goBack();
|
||||
navigate('WalletsList');
|
||||
};
|
||||
useFocusEffect(
|
||||
useCallback(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user