import { onMount } from 'solid-js';
import { useNavigate } from '@solidjs/router';
import AdminShell from '~/components/AdminShell';

export default function InternalRoleManagementAliasPage() {
  const navigate = useNavigate();
  onMount(() => navigate('/admin/roles', { replace: true }));
  return (
    <AdminShell>
      <div class="card"><p class="notice">Redirecting to internal role management...</p></div>
    </AdminShell>
  );
}
