mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 07:28:07 +01:00
Update add.js
This commit is contained in:
parent
b6afedf6ef
commit
9a4029c014
1 changed files with 3 additions and 3 deletions
|
@ -121,9 +121,9 @@ const WalletsAdd = () => {
|
|||
|
||||
useEffect(() => {
|
||||
AsyncStorage.getItem(AppStorage.LNDHUB)
|
||||
.then(url => dispatch({ type: 'SET_WALLET_BASE_URI', payload: url }))
|
||||
.catch(() => dispatch({ type: 'SET_WALLET_BASE_URI', payload: '' }))
|
||||
.finally(() => dispatch({ type: 'SET_LOADING', payload: false }));
|
||||
.then(url => setWalletBaseURI(url))
|
||||
.catch(() => setWalletBaseURI(''))
|
||||
.finally(() => setIsLoading(false));
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue