diff --git a/src/components/factory.ts b/src/components/factory.ts index 3dd5ec6..e611075 100644 --- a/src/components/factory.ts +++ b/src/components/factory.ts @@ -1,7 +1,7 @@ import { Dispatch, SetStateAction } from "react" import notify from "./notify" -export const RegExpIsFloat = /^[-+]?\d+\.?\d?$/ +export const RegExpIsFloat = /^[-+]?\d+\.?\d*$/ /* other - объект с дополнительными свойствами колонки