mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
organize code
This commit is contained in:
parent
16c4460011
commit
38e6f010d6
@ -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 New Issue
Block a user