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

chore: Fixed typo (#7774)

Looks like it got missed during the Great Feature Flag Renaming 😄
This commit is contained in:
Alvin Bryan 2024-08-08 13:53:33 +02:00 committed by GitHub
parent b65e593c23
commit 274d314b28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,8 +37,7 @@ export const ArchivedFeatureDeleteConfirm = ({
const { setToastData, setToastApiError } = useToast();
const { deleteFeatures } = useProjectApi();
const singularOrPluralFlags =
deletedFeatures.length > 1 ? 'toggles' : 'toggle';
const singularOrPluralFlags = deletedFeatures.length > 1 ? 'flags' : 'flag';
const onDeleteFeatureToggle = async () => {
try {