Skip to content

Commit 5cea6b9

Browse files
authored
refactor: solve field-form circular dependency issue (#595)
1 parent 47c3373 commit 5cea6b9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/useWatch.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
import type { FormInstance } from '.';
2-
import { FieldContext } from '.';
31
import warning from 'rc-util/lib/warning';
4-
import { HOOK_MARK } from './FieldContext';
2+
import FieldContext, { HOOK_MARK } from './FieldContext';
53
import type {
4+
FormInstance,
65
InternalFormInstance,
76
InternalNamePath,
87
NamePath,

0 commit comments

Comments
 (0)