diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 2e39691..1c44022 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -82,7 +82,8 @@ "Bash(git commit -m 'Fix: Remove function prop from client component *)", "Bash(git commit -m 'Fix: Import revalidatePath from correct module *)", "Bash(git commit -m 'Fix: Route photo requests to design canvas instead of approval upload *)", - "Bash(git commit -m 'Fix: Pass photo request ID instead of data URL *)" + "Bash(git commit -m 'Fix: Pass photo request ID instead of data URL *)", + "Bash(git commit -m 'Feature: Add product selection when starting design from photo request *)" ] } } diff --git a/src/app/admin/custom-requests/[id]/page.tsx b/src/app/admin/custom-requests/[id]/page.tsx index 8a66d7e..931bb47 100644 --- a/src/app/admin/custom-requests/[id]/page.tsx +++ b/src/app/admin/custom-requests/[id]/page.tsx @@ -18,10 +18,6 @@ export default async function CustomRequestDetailPage({ params }: { params: { id const whatsappDigits = request.customerPhone ? request.customerPhone.replace(/\D/g, '') : null; const whatsappMessage = `Hi ${request.customerName}, thanks for sending over your photo for a ${request.product.name} — we're working on it!`; - const designParams = new URLSearchParams({ - customRequestId: request.id, - }); - return (
Select which product to design this photo on
+ +Photo request details
+Customer: {request.customerName}
+Originally requested for: {request.product.name}
+