diff --git a/webpack/components/ResourceQuotaForm/components/Resource/UnitInputField.js b/webpack/components/ResourceQuotaForm/components/Resource/UnitInputField.js index 9a5419b..8106fd3 100644 --- a/webpack/components/ResourceQuotaForm/components/Resource/UnitInputField.js +++ b/webpack/components/ResourceQuotaForm/components/Resource/UnitInputField.js @@ -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(