mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
remove redundant type declaration in callbacks
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
9da10dc7b0
commit
4341d35304
@ -124,7 +124,7 @@ export class AddCluster extends React.Component {
|
|||||||
<MonacoEditor
|
<MonacoEditor
|
||||||
autoFocus={true}
|
autoFocus={true}
|
||||||
value={this.customConfig}
|
value={this.customConfig}
|
||||||
onChange={(value: string) => {
|
onChange={value => {
|
||||||
this.customConfig = value;
|
this.customConfig = value;
|
||||||
this.errors.length = 0;
|
this.errors.length = 0;
|
||||||
this.refreshContexts();
|
this.refreshContexts();
|
||||||
|
|||||||
@ -45,7 +45,7 @@ export const Editor = observer(() => {
|
|||||||
control={
|
control={
|
||||||
<Switcher
|
<Switcher
|
||||||
checked={editorConfiguration.miniMap.enabled}
|
checked={editorConfiguration.miniMap.enabled}
|
||||||
onChange={(evt, checked: boolean) => editorConfiguration.miniMap.enabled = checked}
|
onChange={(evt, checked) => editorConfiguration.miniMap.enabled = checked}
|
||||||
name="minimap"
|
name="minimap"
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user