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:
parent
7906bfb177
commit
1990ede59f
@ -24,7 +24,7 @@ export const useFavoriteFeaturesApi = () => {
|
|||||||
await makeLightRequest(req.caller, req.id);
|
await makeLightRequest(req.caller, req.id);
|
||||||
|
|
||||||
setToastData({
|
setToastData({
|
||||||
title: 'Toggle added to favorites',
|
title: 'Feature flag added to favorites',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
});
|
});
|
||||||
trackEvent('favorite', {
|
trackEvent('favorite', {
|
||||||
@ -52,7 +52,7 @@ export const useFavoriteFeaturesApi = () => {
|
|||||||
await makeLightRequest(req.caller, req.id);
|
await makeLightRequest(req.caller, req.id);
|
||||||
|
|
||||||
setToastData({
|
setToastData({
|
||||||
title: 'Toggle removed from favorites',
|
title: 'Feature flag removed from favorites',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
});
|
});
|
||||||
trackEvent('favorite', {
|
trackEvent('favorite', {
|
||||||
|
Loading…
Reference in New Issue
Block a user