diff --git a/components/Context/StorageProvider.tsx b/components/Context/StorageProvider.tsx index 8a071e669..32a9fa82e 100644 --- a/components/Context/StorageProvider.tsx +++ b/components/Context/StorageProvider.tsx @@ -95,9 +95,7 @@ export const StorageProvider = ({ children }: { children: React.ReactNode }) => txMetadata.current = BlueApp.tx_metadata; counterpartyMetadata.current = BlueApp.counterparty_metadata; setWallets(BlueApp.getWallets()); - if (BlueApp.getWallets().length > 0) { - BlueElectrum.connectMain(); - } + BlueElectrum.connectMain(); } }, [walletsInitialized]); diff --git a/screen/PlausibleDeniability.tsx b/screen/PlausibleDeniability.tsx index 690c6b9dd..d6d064d25 100644 --- a/screen/PlausibleDeniability.tsx +++ b/screen/PlausibleDeniability.tsx @@ -46,7 +46,7 @@ function reducer(state: State, action: Action): State { const PlausibleDeniability: React.FC = () => { const { cachedPassword, isPasswordInUse, createFakeStorage, resetWallets } = useStorage(); const [state, dispatch] = useReducer(reducer, initialState); - const { navigate } = useExtendedNavigation() + const { navigate } = useExtendedNavigation(); const promptRef = useRef(null); const handleOnCreateFakeStorageButtonPressed = async () => {