fix RegExp for floats

This commit is contained in:
Фролов 2021-08-19 15:06:28 +05:00
parent 0d1bdcc15a
commit 057848116b

View File

@ -1,7 +1,7 @@
import { Dispatch, SetStateAction } from "react"
import notify from "./notify"
export const RegExpIsFloat = /^[-+]?\d+\.?\d?$/
export const RegExpIsFloat = /^[-+]?\d+\.?\d*$/
/*
other - объект с дополнительными свойствами колонки