All Tests Work! Password reset implemented. Users list sorted.
This commit is contained in:
@@ -20,8 +20,12 @@ function App() {
|
||||
const location = useLocation();
|
||||
|
||||
useEffect(() => {
|
||||
setLanguage(getSystemLanguage());
|
||||
}, []);
|
||||
if (currentUser?.profile?.language) {
|
||||
setLanguage(currentUser.profile.language as Language);
|
||||
} else {
|
||||
setLanguage(getSystemLanguage());
|
||||
}
|
||||
}, [currentUser]);
|
||||
|
||||
const handleLogin = (user: User) => {
|
||||
updateUser(user);
|
||||
|
||||
Reference in New Issue
Block a user