We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b2db1f commit 4e0efcbCopy full SHA for 4e0efcb
packages/frontend/src/components/FlowSubstep/index.tsx
@@ -49,8 +49,9 @@ function FlowSubstep(props: FlowSubstepProps): JSX.Element {
49
const { dirtyFields } = formContext.formState
50
const isDirty = Object.keys(dirtyFields).length > 0
51
useEffect(() => {
52
+ onTestResultClose()
53
setShouldWarnOnLeave(isDirty)
- }, [isDirty, setShouldWarnOnLeave])
54
+ }, [isDirty, onTestResultClose, setShouldWarnOnLeave])
55
56
// filter inputs hidden behind feature flags based on timestamp
57
const argsToDisplay = useMemo(
0 commit comments