From 2ce03628a54f380f83c2b15d98f20d14f60b8357 Mon Sep 17 00:00:00 2001 From: Jake Kasper Date: Wed, 3 Sep 2025 17:59:37 -0400 Subject: [PATCH] jhyuy --- frontend/src/pages/Admin/AdminProducts.js | 54 ----------------------- 1 file changed, 54 deletions(-) diff --git a/frontend/src/pages/Admin/AdminProducts.js b/frontend/src/pages/Admin/AdminProducts.js index 5fe5f3c..14decd0 100644 --- a/frontend/src/pages/Admin/AdminProducts.js +++ b/frontend/src/pages/Admin/AdminProducts.js @@ -425,60 +425,6 @@ const AdminProducts = () => { )} - {/* Seed Blend Editor */} - {formData.productType === 'seed' && ( -
-
- - -
- {(formData.seedBlend||[]).length === 0 ? ( -
No cultivars added yet.
- ) : ( -
- {formData.seedBlend.map((row, idx) => ( -
- { - const next = [...formData.seedBlend]; - next[idx] = { ...next[idx], cultivar: e.target.value }; - setFormData({ ...formData, seedBlend: next }); - }} - /> - { - const next = [...formData.seedBlend]; - next[idx] = { ...next[idx], percent: e.target.value }; - setFormData({ ...formData, seedBlend: next }); - }} - /> - -
- ))} -
- Total: {((formData.seedBlend||[]).reduce((s,r)=> s + (parseFloat(r.percent)||0), 0)).toFixed(1)}% -
-
- )} -
- )}