lots of fixes. cant remember them all

This commit is contained in:
2025-12-18 09:42:25 -05:00
parent 607939c468
commit 4c2d767d09
28 changed files with 3342 additions and 996 deletions
+14
View File
@@ -0,0 +1,14 @@
import { redirect } from "next/navigation";
export default async function PartsRoleRedirectPage({
params,
searchParams,
}: {
params: { partRole: string };
searchParams?: { platform?: string };
}) {
const partRole = params.partRole;
const platform = searchParams?.platform ?? "AR-15";
redirect(`/parts/p/${encodeURIComponent(platform)}/${encodeURIComponent(partRole)}`);
}