mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
Update hooks/useHandoffListener.ios.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
87113d99d2
commit
d27e3bddee
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ interface UserActivityData {
|
|||
};
|
||||
}
|
||||
|
||||
const { EventEmitter } = NativeModules;
|
||||
const eventEmitter = new NativeEventEmitter(EventEmitter);
|
||||
const EventEmitter = NativeModules.EventEmitter;
|
||||
const eventEmitter = EventEmitter ? new NativeEventEmitter(EventEmitter) : null;
|
||||
|
||||
const useHandoffListener = () => {
|
||||
const { walletsInitialized } = useStorage();
|
||||
|
|
Loading…
Add table
Reference in a new issue