From 5efc2d519ebb2d4e09e8ecc9b56f1e908ede0cef Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Sat, 21 Feb 2026 09:15:16 +0100 Subject: [PATCH] Fix duplicate handleAddAsin function Co-authored-by: Qwen-Coder --- components/ExperimentForm.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/components/ExperimentForm.tsx b/components/ExperimentForm.tsx index 75d0dc4..be903a8 100644 --- a/components/ExperimentForm.tsx +++ b/components/ExperimentForm.tsx @@ -89,17 +89,6 @@ const ExperimentForm: React.FC = ({ } }; - const handleAddAsin = () => { - const newAsins = asinInput - .split(',') - .map(a => a.trim().toUpperCase()) - .filter(a => a.length > 0); - - const uniqueAsins = Array.from(new Set([...formData.asins, ...newAsins])); - setFormData({ ...formData, asins: uniqueAsins }); - setAsinInput(''); - }; - const typeOptions: { value: ExperimentType; label: string; icon: string }[] = [ { value: 'pricing', label: 'Pricing', icon: '💰' }, { value: 'advertising', label: 'Advertising', icon: '📢' },