// The audit log now lives at /audit-log — the nav label and the URL finally
// agree. This keeps old /activity links (bookmarks, deep links) working.
// SPA build (ssr:false), so the redirect must run in the browser: clientLoader,
// not loader (a plain loader never executes when there's no server).
import { redirect } from "react-router"

export function clientLoader() {
  return redirect("/audit-log")
}

export default function ActivityRedirect() {
  return null
}
