mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-03-09 13:19:07 +01:00
Add missing useEffect dependencies
This commit is contained in:
parent
2e5f41e812
commit
1be786544c
@ -145,7 +145,7 @@ const LoginPage = () => {
|
||||
return () => {
|
||||
document.body.classList.remove("bg-plan", "plan-bg-gradient");
|
||||
}
|
||||
}, [setRedirectTo])
|
||||
}, [setRedirectTo, setSuccessMessage, t])
|
||||
|
||||
const login = async (username, password) => {
|
||||
if (!username || username.length < 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user