diff --git a/apps/spreadsheeteditor/mobile/src/view/Statusbar.jsx b/apps/spreadsheeteditor/mobile/src/view/Statusbar.jsx index f9e264924..4b1ccb4bb 100644 --- a/apps/spreadsheeteditor/mobile/src/view/Statusbar.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/Statusbar.jsx @@ -123,8 +123,7 @@ const PageTabColor = inject("storePalette")(observer(props => { const changeColor = (color, effectId, effectValue) => { if (color !== 'empty') { if (effectId !== undefined ) { - const newColor = {color: color, effectId: effectId, effectValue: effectValue}; - sheets.changeTabColor(newColor); + sheets.changeTabColor(color); props.onSetWorkSheetColor(color); } else { sheets.changeTabColor(color);