1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

chore: rename toggle to feature (#8855)

This commit is contained in:
Jaanus Sellin 2024-11-26 10:24:59 +02:00 committed by GitHub
parent 7906bfb177
commit 1990ede59f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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', {