mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-15 04:32:13 +00:00
organize code
This commit is contained in:
parent
16c4460011
commit
38e6f010d6
1 changed files with 2 additions and 2 deletions
|
@ -31,6 +31,8 @@ export function App() {
|
|||
|
||||
const { clearDownload, setLastPacket } = useDownload();
|
||||
|
||||
const { updateUserAuth, clearUserAuth } = useUserAuth();
|
||||
|
||||
const dispatch = useAppDispatch();
|
||||
|
||||
const navigate = useNavigate();
|
||||
|
@ -68,8 +70,6 @@ export function App() {
|
|||
};
|
||||
}, [clearDownload, setLastPacket, updateLibrary]);
|
||||
|
||||
const { updateUserAuth, clearUserAuth } = useUserAuth();
|
||||
|
||||
useEffect(() => {
|
||||
const listeners = [
|
||||
window.electron.onSignIn(() => {
|
||||
|
|
Loading…
Reference in a new issue