Skip to content

Commit c7efb3d

Browse files
author
Singh
committed
Linting fix
1 parent 777ce98 commit c7efb3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/react-form-renderer/src/use-field-api/convert-type.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ const canBeConvertedToNumber = (value) => !isNaN(Number(value)) && value !== '';
2323
* @param {Any} value value to be checked
2424
*/
2525
const canBeConvertedToFloat = (value) => {
26-
if (typeof value == 'string' && value.endsWith('.')) return false;
26+
if (typeof value == 'string' && value.endsWith('.')) {
27+
return false;
28+
}
2729
return canBeConvertedToNumber(value);
2830
};
2931

0 commit comments

Comments
 (0)