+ {list.map(({ listName, macronutrients, meals }, index) => (
+
+
+ setIsModalOpen(true)} primary={listName} secondary={} />
+ expandList(listName)}>
+ {expandedListName[listName] ? : }
+
+
+ {meals.length ? (
+
+ {meals.map(({ name, macronutrients }, index) => (
+ console.log('elo')}>
+
+
+ }
+ />
+ ))}
+
+ ) : null }
+
+ ))}
+
+ {isModalOpen
+ ?