From 1990ede59fc155930f68934621217c60aa4cd96d Mon Sep 17 00:00:00 2001 From: Jaanus Sellin Date: Tue, 26 Nov 2024 10:24:59 +0200 Subject: [PATCH] chore: rename toggle to feature (#8855) --- .../actions/useFavoriteFeaturesApi/useFavoriteFeaturesApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/hooks/api/actions/useFavoriteFeaturesApi/useFavoriteFeaturesApi.ts b/frontend/src/hooks/api/actions/useFavoriteFeaturesApi/useFavoriteFeaturesApi.ts index 38a30b3c5a..ccf4ef094a 100644 --- a/frontend/src/hooks/api/actions/useFavoriteFeaturesApi/useFavoriteFeaturesApi.ts +++ b/frontend/src/hooks/api/actions/useFavoriteFeaturesApi/useFavoriteFeaturesApi.ts @@ -24,7 +24,7 @@ export const useFavoriteFeaturesApi = () => { await makeLightRequest(req.caller, req.id); setToastData({ - title: 'Toggle added to favorites', + title: 'Feature flag added to favorites', type: 'success', }); trackEvent('favorite', { @@ -52,7 +52,7 @@ export const useFavoriteFeaturesApi = () => { await makeLightRequest(req.caller, req.id); setToastData({ - title: 'Toggle removed from favorites', + title: 'Feature flag removed from favorites', type: 'success', }); trackEvent('favorite', {