From 8ef59cd45d453d3303085cfd5f03d09ae2e9c319 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 25 Jun 2024 09:34:44 +0200 Subject: [PATCH] chore: change "toggle updated" to "flag updated" in toast message (#7439) This message appears to have been missed when we did the previous migration from "toggle" to "flag". --- frontend/src/component/feature/EditFeature/EditFeature.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/feature/EditFeature/EditFeature.tsx b/frontend/src/component/feature/EditFeature/EditFeature.tsx index 993809773e..333f1d7e9f 100644 --- a/frontend/src/component/feature/EditFeature/EditFeature.tsx +++ b/frontend/src/component/feature/EditFeature/EditFeature.tsx @@ -57,7 +57,7 @@ const EditFeature = () => { await patchFeatureFlag(project, featureId, patch); navigate(`/projects/${project}/features/${name}`); setToastData({ - title: 'Toggle updated successfully', + title: 'Flag updated successfully', type: 'success', }); } catch (error: unknown) {