Skip to content

Commit

Permalink
chore: Fixed typo (#7774)
Browse files Browse the repository at this point in the history
Looks like it got missed during the Great Feature Flag Renaming 😄
  • Loading branch information
alvinometric authored Aug 8, 2024
1 parent b65e593 commit 274d314
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 274d314

Please sign in to comment.