import { getNotesWithReminders } from '@/app/actions/notes'
import { RemindersPage } from '@/components/reminders-page'

export const dynamic = 'force-dynamic'

export default async function RemindersRoute() {
  const notes = await getNotesWithReminders()
  return <RemindersPage notes={notes} />
}
