import { createSupabaseServerClient } from "@/lib/supabase/server"
import { ReaderShell } from "../_components/reader-shell"

export default async function SavedPage() {
  const supabaseClient = await createSupabaseServerClient()
  const {
    data: { user },
  } = await supabaseClient.auth.getUser()

  return (
    <ReaderShell
      userEmailAddress={user?.email ?? null}
      feedFilter="saved"
    />
  )
}
