Dev Helpers
← Back

Empty activity slot fallback

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

export default function EmptyActivitySlotFallback() {
  return (
    <aside>
      <h2>Recent activity</h2>
      <p>No activity selected.</p>
    </aside>
  );
}