import { onMount } from 'solid-js';
import { useNavigate, useParams } from '@solidjs/router';

export default function ProfileAliasPage() {
  const navigate = useNavigate();
  const params = useParams();
  onMount(() => navigate(`/admin/users/details/${params.id}`, { replace: true }));
  return <div class="rounded-xl border border-gray-200 bg-white shadow-sm"><p class="notice">Redirecting to user profile detail...</p></div>;
}
