Skip to content

Commit

Permalink
address review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Dec 3, 2020
1 parent c4f44e3 commit 8380de2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const Script: FormFieldsComponent = ({ initialFieldValues }) => {
const [showId, setShowId] = useState(() => !!initialFieldValues?.id);
const [scriptLanguage, setScriptLanguage] = useState<string>('plaintext');

const [{ fields }] = useFormData();
const [{ fields }] = useFormData({ watch: 'fields.lang' });

const suggestionProvider = PainlessLang.getSuggestionProvider('processor_conditional');

Expand Down

0 comments on commit 8380de2

Please sign in to comment.