mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
fixes
This commit is contained in:
@@ -54,11 +54,7 @@ export function LoginPage() {
|
||||
const [profileTrigger] = useApiMutation<{ profile: CurrentProfile | null }>();
|
||||
|
||||
const handleBack = () => {
|
||||
if (window.history.length > 1) {
|
||||
navigate(-1);
|
||||
} else {
|
||||
navigate("/");
|
||||
}
|
||||
navigate("/");
|
||||
};
|
||||
|
||||
// Built inside the component (not module scope) so validation messages
|
||||
|
||||
Reference in New Issue
Block a user