Improve the demo feature of the project

This commit is contained in:
Urtzi Alfaro
2025-10-12 18:47:33 +02:00
parent dbc7f2fa0d
commit 7556a00db7
168 changed files with 10102 additions and 18869 deletions

View File

@@ -35,6 +35,11 @@ const InventoryPage: React.FC = () => {
const tenantId = useTenantId();
// Debug tenant ID
console.log('🔍 [InventoryPage] Tenant ID from hook:', tenantId);
console.log('🔍 [InventoryPage] tenantId type:', typeof tenantId);
console.log('🔍 [InventoryPage] tenantId truthy?', !!tenantId);
// Mutations
const createIngredientMutation = useCreateIngredient();
const softDeleteMutation = useSoftDeleteIngredient();