1
0
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:
Roman 2021-10-02 13:43:24 +03:00
parent 9da10dc7b0
commit 4341d35304
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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"
/>
}