20 lines
470 B
TypeScript
20 lines
470 B
TypeScript
|
|
import { onMount } from 'solid-js';
|
||
|
|
import { useNavigate } from '@solidjs/router';
|
||
|
|
import AdminShell from '~/components/AdminShell';
|
||
|
|
|
||
|
|
export default function CreateEmployeeAliasPage() {
|
||
|
|
const navigate = useNavigate();
|
||
|
|
|
||
|
|
onMount(() => {
|
||
|
|
navigate('/admin/employees?tab=create', { replace: true });
|
||
|
|
});
|
||
|
|
|
||
|
|
return (
|
||
|
|
<AdminShell>
|
||
|
|
<div class="card">
|
||
|
|
<p class="notice">Redirecting to employee create form...</p>
|
||
|
|
</div>
|
||
|
|
</AdminShell>
|
||
|
|
);
|
||
|
|
}
|