import { redirect } from "next/navigation";

export default async function ClassPage(props: PageProps<"/[classSlug]">) {
  const { classSlug } = await props.params;
  redirect(`/${classSlug}/flashcards`);
}
