diff --git a/src/Field.tsx b/src/Field.tsx index e33f2aed..3d54ba0d 100644 --- a/src/Field.tsx +++ b/src/Field.tsx @@ -73,7 +73,7 @@ class Field extends React.Component implements FieldEnti private cancelRegisterFunc: () => void | null = null; - private destroy: boolean = false; + private destroy = false; /** * Follow state should not management in State since it will async update by React.