Initial working commit
Some checks failed
Automated Container Build / build-and-push (push) Failing after 7s
Some checks failed
Automated Container Build / build-and-push (push) Failing after 7s
This commit is contained in:
parent
666ceb7325
commit
b7ce314f01
105 changed files with 35510 additions and 11 deletions
6
src/app/(protected)/[classSlug]/page.tsx
Normal file
6
src/app/(protected)/[classSlug]/page.tsx
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import { redirect } from "next/navigation";
|
||||
|
||||
export default async function ClassPage(props: PageProps<"/[classSlug]">) {
|
||||
const { classSlug } = await props.params;
|
||||
redirect(`/${classSlug}/flashcards`);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue