Skip to content

Commit

Permalink
Make error message more generic for Resource Quota limit field
Browse files Browse the repository at this point in the history
  • Loading branch information
bastian-src committed Feb 11, 2025
1 parent d7ae0af commit f00377d
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,7 @@ const UnitInputField = ({
}, [minValue, maxValue, selectedUnit]);

/* text for float errors */
const errorTextNatural = useCallback(
() => __('Value must be a natural number.'),
[]
);
const errorTextNatural = useCallback(() => __('Value must be a number.'), []);

/* text for float inputs (rounding) */
const warningTextRounded = useCallback(
Expand Down

0 comments on commit f00377d

Please sign in to comment.