id page update
This commit is contained in:
parent
a3c4565034
commit
b0856c986f
9 changed files with 8 additions and 48 deletions
|
|
@ -1,7 +1,2 @@
|
|||
// app/projects/[id]/page.tsx
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
export default async function Page({ params }: { params: Promise<{ id: string }> }) {
|
||||
const { id } = await params;
|
||||
redirect(`/portal/projects?id=${encodeURIComponent(id)}`);
|
||||
}
|
||||
export { default } from "./projects";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue