import { redirect } from 'next/navigation'; // Legacy /alerts route — merged into /inbox in 2026-05-11. The hash // scrolls + expands the Alerts section on the merged page, so old // bookmarks land in the right spot. export default async function AlertsRedirect({ params, }: { params: Promise<{ portSlug: string }>; }) { const { portSlug } = await params; redirect(`/${portSlug}/inbox#alerts`); }