Dev Helpers
← Back

Activity archive alternative

Place this file at app/dashboard/@activity/default.tsx in an App Router project.

Open this example in the interactive library

Source code

// app/dashboard/@activity/default.tsx

import Link from "next/link";

export default function ActivityArchiveAlternative() {
  return (
    <section>
      <h2>Activity feed unavailable</h2>
      <Link href="/archive">Open the archive</Link>
    </section>
  );
}