first commit
This commit is contained in:
commit
2a1854ab08
120 files changed
+11300
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { redirect } from "next/navigation";
|
||||
|
||||
type ExpandedRoutePageProps = {
|
||||
params: Promise<{ routeId: string }>;
|
||||
};
|
||||
|
||||
export default async function ExpandedRoutePage({ params }: ExpandedRoutePageProps) {
|
||||
const { routeId } = await params;
|
||||
redirect(`/routes/${encodeURIComponent(routeId)}`);
|
||||
return null;
|
||||
}
|
||||
Reference in new issue
Block a user