remove redundant type declaration in callbacks

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2021-10-02 13:43:24 +03:00
1 parent 9da10dc7b0
commit 4341d35304
2 files changed
+2 -2

No files matched your search

@@ -124,7 +124,7 @@ export class AddCluster extends React.Component {
<MonacoEditor
autoFocus={true}
value={this.customConfig}
onChange={(value: string) => {
onChange={value => {
this.customConfig = value;
this.errors.length = 0;
this.refreshContexts();
@@ -45,7 +45,7 @@ export const Editor = observer(() => {
control={
<Switcher
checked={editorConfiguration.miniMap.enabled}
onChange={(evt, checked: boolean) => editorConfiguration.miniMap.enabled = checked}
onChange={(evt, checked) => editorConfiguration.miniMap.enabled = checked}
name="minimap"
/>
}