mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
Update hooks/useAppState.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
b7e2cd5a70
commit
e70c83ba35
@ -16,7 +16,7 @@ const useAppState = (): { currentAppState: AppStateStatus, previousAppState: App
|
||||
return () => {
|
||||
subscription.remove();
|
||||
};
|
||||
}, [currentAppState]);
|
||||
}, []);
|
||||
|
||||
return { currentAppState, previousAppState: previousAppState.current };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user