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 10, 2025
1 parent 3fb2f42 commit b1808a5
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,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 b1808a5

Please sign in to comment.