Skip to content

Commit

Permalink
fix(frontend): fix missing dep in useEffect in TestSpec form
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeepc committed Jun 9, 2023
1 parent 5b4b54f commit 3d96872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/TestSpecForm/TestSpecForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const TestSpecForm = ({
assertions,
});
}
}, [form, isEditing, name, selector]);
}, [assertions, form, isEditing, name, selector]);

const selectorSuggestions = useAppSelector(TestSpecsSelectors.selectSelectorSuggestions);
const prevSelector = useAppSelector(TestSpecsSelectors.selectPrevSelector);
Expand Down

0 comments on commit 3d96872

Please sign in to comment.