From 9f4b34367c44354a405d781059064615c9ab749e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Tue, 22 Nov 2022 12:33:03 +0000 Subject: [PATCH] fix: secondary button should say "cancel" instead of "close" (#2496) Small fix after talking with @NicolaeUnleash --- .../VariantDeleteDialog/VariantDeleteDialog.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/VariantDeleteDialog/VariantDeleteDialog.tsx b/frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/VariantDeleteDialog/VariantDeleteDialog.tsx index 49ca3f87e4..f4c1303781 100644 --- a/frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/VariantDeleteDialog/VariantDeleteDialog.tsx +++ b/frontend/src/component/feature/FeatureView/FeatureVariants/FeatureEnvironmentVariants/VariantDeleteDialog/VariantDeleteDialog.tsx @@ -24,7 +24,7 @@ export const VariantDeleteDialog = ({ title="Delete variant?" open={open} primaryButtonText="Delete variant" - secondaryButtonText="Close" + secondaryButtonText="Cancel" onClick={onConfirm} onClose={() => { setOpen(false);