Skip to content

Commit

Permalink
fix TS
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Jan 16, 2020
1 parent 8d171e4 commit d735770
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const MappingsEditor = React.memo(({ onUpdate, defaultValue, indexSetting
return;
}
} else if (selectedTab === 'templates') {
const { isValid: isTemplatesFormValid } = await state.templates.submitForm();
const { isValid: isTemplatesFormValid } = await state.templates.submitForm!();

if (!isTemplatesFormValid) {
return;
Expand Down

0 comments on commit d735770

Please sign in to comment.