diff --git a/src/app/js/formats/vega/component/tree-map/TreeMapAdmin.js b/src/app/js/formats/vega/component/tree-map/TreeMapAdmin.js index 855feba1a..b0e449aef 100644 --- a/src/app/js/formats/vega/component/tree-map/TreeMapAdmin.js +++ b/src/app/js/formats/vega/component/tree-map/TreeMapAdmin.js @@ -12,7 +12,6 @@ import { FormatDataParamsFieldSet, } from '../../../utils/components/field-set/FormatFieldSets'; import { - Box, FormControlLabel, FormGroup, MenuItem, @@ -139,11 +138,7 @@ const TreeMapAdmin = (props) => { }; const handleColors = (colors) => { - updateAdminArgs( - 'colors', - colors.split(' ') || defaultArgs.colors, - props, - ); + updateAdminArgs('colors', colors || defaultArgs.colors, props); }; const handleLayout = (e) => {