mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
wip
This commit is contained in:
parent
dfe6e683cd
commit
da56b468bb
@ -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]);
|
||||
|
||||
|
@ -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<PromptPasswordConfirmationModalHandle>(null);
|
||||
|
||||
const handleOnCreateFakeStorageButtonPressed = async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user