Files
Andrew S Erwin b9721ff13f
release gate / check (push) Failing after 8m35s
initial commit on Federted servers
2026-10-19 16:23:55 -05:00

8 lines
350 B
TypeScript

import { redirect } from 'next/navigation'
// The dashboard was folded into the "All Bookmarks" filter view.
export default async function DashboardPage({ searchParams }: { searchParams: Promise<{ search?: string }> }) {
const { search } = await searchParams
redirect(search ? `/bookmarks?search=${encodeURIComponent(search)}` : '/bookmarks')
}