Remove debug logging - custom photo feature working correctly
This commit is contained in:
@@ -35,9 +35,6 @@ export default async function ProductDetailPage({
|
||||
});
|
||||
if (customRequest) {
|
||||
customPhoto = customRequest.imageDataUrl;
|
||||
console.log(`✓ Found custom photo for request ${searchParams.customRequestId}`);
|
||||
} else {
|
||||
console.log(`✗ Custom request not found: ${searchParams.customRequestId}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -504,11 +504,6 @@ export default function DesignCanvas({
|
||||
designId?: string;
|
||||
customPhoto?: string;
|
||||
}) {
|
||||
// Debug: Log if custom photo is received
|
||||
if (customPhoto) {
|
||||
console.log('✓ Custom photo received in DesignCanvas');
|
||||
}
|
||||
|
||||
const [color, setColor] = useState(initialColor ?? product.colors[0]);
|
||||
const [size, setSize] = useState<string | null>(initialSize ?? (product.sizes[0] ?? null));
|
||||
const [designWidthCm, setDesignWidthCm] = useState<number | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user