FIX: lndhub uri bug

This commit is contained in:
Overtorment 2019-06-02 22:32:56 +01:00
parent 042a9e4d85
commit 4d3a3d4176

View File

@ -45,7 +45,8 @@ export default class WalletsAdd extends Component {
async componentDidMount() {
let walletBaseURI = await AsyncStorage.getItem(AppStorage.LNDHUB);
let isAdvancedOptionsEnabled = !!(await AsyncStorage.getItem(AppStorage.ADVANCED_MODE_ENABLED));
walletBaseURI = JSON.parse(walletBaseURI) || '';
walletBaseURI = walletBaseURI || '';
this.setState({
isLoading: false,
activeBitcoin: undefined,