mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 16:35:23 +02:00
fix: resolve asins.map crash in experiment detail for legacy records
This commit is contained in:
@@ -490,7 +490,7 @@ const ExperimentDetail: React.FC<ExperimentDetailProps> = ({ experimentId, onClo
|
||||
{/* ASINs */}
|
||||
<DetailSection title="📦 Target ASINs">
|
||||
<div className="flex flex-wrap gap-2">
|
||||
{experiment.asins.map((asin, idx) => (
|
||||
{(experiment.asins || []).map((asin, idx) => (
|
||||
<span
|
||||
key={idx}
|
||||
className="px-2.5 py-1 bg-slate-800 border border-slate-600 rounded-lg text-sm text-slate-300 font-mono"
|
||||
|
||||
Reference in New Issue
Block a user