diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-11 21:40:23 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2020-08-11 21:40:23 +0900 |
commit | 0b98a22eba4f7bbac215abd800293ac2be67b24d (patch) | |
tree | ae78b7edc460a79708742bff55c4c6fa55699e47 /src/settings | |
parent | f497109ecc801660dc23bbad8445b120cd75561e (diff) |
Enable @typescript-eslint/no-extra-non-null-assertion
Diffstat (limited to 'src/settings')
-rw-r--r-- | src/settings/components/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/settings/components/index.tsx b/src/settings/components/index.tsx index 5793a8f..9d71cac 100644 --- a/src/settings/components/index.tsx +++ b/src/settings/components/index.tsx @@ -106,9 +106,9 @@ class SettingsComponent extends React.Component<Props> { let fields = null; const disabled = this.props.error.length > 0; if (this.props.source === "form") { - fields = this.renderFormFields(this.props.form!!); + fields = this.renderFormFields(this.props.form!); } else if (this.props.source === "json") { - fields = this.renderJsonFields(this.props.json!!, this.props.error); + fields = this.renderJsonFields(this.props.json!, this.props.error); } return ( <div> |