From 6c794372fe76a78d424b54b7fcbd311f64495d2a Mon Sep 17 00:00:00 2001 From: Daniel Bachhuber Date: Fri, 29 Nov 2024 06:48:33 -0800 Subject: [PATCH] chore(experiments): Always show button to remove a transform (#26485) Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .../src/toolbar/experiments/WebExperimentTransformHeader.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/toolbar/experiments/WebExperimentTransformHeader.tsx b/frontend/src/toolbar/experiments/WebExperimentTransformHeader.tsx index 385baea820bf9..9922d96a70e40 100644 --- a/frontend/src/toolbar/experiments/WebExperimentTransformHeader.tsx +++ b/frontend/src/toolbar/experiments/WebExperimentTransformHeader.tsx @@ -28,8 +28,7 @@ export function WebExperimentTransformHeader({ {transform.selector && } - {/*Only show the remove button if there's more than one transform*/} - {experimentForm?.variants && experimentForm.variants[variant].transforms.length > 1 && ( + {experimentForm?.variants && ( } size="small"