mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
parent
6a78a6d6f8
commit
b0cd3c378d
2 changed files with 1 additions and 7 deletions
|
@ -82,12 +82,6 @@ module.exports = {
|
|||
'react-hooks/exhaustive-deps': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['src/legacy/core_plugins/tile_map/**/*.{js,ts,tsx}'],
|
||||
rules: {
|
||||
'react-hooks/exhaustive-deps': 'off',
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ['src/legacy/core_plugins/vis_type_markdown/**/*.{js,ts,tsx}'],
|
||||
rules: {
|
||||
|
|
|
@ -41,7 +41,7 @@ function TileMapOptions(props: TileMapOptionsProps) {
|
|||
if (!stateParams.mapType) {
|
||||
setValue('mapType', vis.type.editorConfig.collections.mapTypes[0]);
|
||||
}
|
||||
}, []);
|
||||
}, [setValue, stateParams.mapType, vis.type.editorConfig.collections.mapTypes]);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue