mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-29 04:38:55 +03:00
Fix focusDeck not working on initial page load
This commit is contained in:
parent
3ce8b75e3f
commit
7c09485e26
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ function App() {
|
|||
}, 100);
|
||||
return () => clearTimeout(timer);
|
||||
};
|
||||
useEffect(focusDeck, [location]);
|
||||
useEffect(focusDeck, [location, isLoggedIn]);
|
||||
const showModal =
|
||||
snapStates.showCompose ||
|
||||
snapStates.showSettings ||
|
||||
|
|
Loading…
Reference in a new issue