mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +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
@ -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…
Reference in New Issue
Block a user