Log approvalStatus value when rendering pending message

Add console log to show the actual value of approvalStatus when the
pending approval message is displayed.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Andymick
2026-07-18 19:00:56 +01:00
co-authored by Claude Haiku 4.5
parent c9a7cab349
commit 75518e3e5e
+6 -3
View File
@@ -1162,9 +1162,12 @@ export default function DesignCanvas({ product, isAdminEditing = false }: { prod
</div>
{approvalStatus === 'PENDING' && (
<p className="text-sm text-orange-600 bg-orange-50 border border-orange-200 px-4 py-3 rounded">
Your design is pending admin approval. You'll receive an email when it's ready to add to your bag.
</p>
<>
{console.log('📍 Rendering PENDING message, approvalStatus =', approvalStatus)}
<p className="text-sm text-orange-600 bg-orange-50 border border-orange-200 px-4 py-3 rounded">
Your design is pending admin approval. You'll receive an email when it's ready to add to your bag.
</p>
</>
)}
{approvalStatus === 'APPROVED' && (
<p className="text-sm text-pine bg-green-50 border border-green-200 px-4 py-3 rounded">