Improve the demo feature of the project
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user