diff --git a/frontend/src/component/common/dropdown-menu.jsx b/frontend/src/component/common/dropdown-menu.jsx index 40561229ef..9916d4cdd7 100644 --- a/frontend/src/component/common/dropdown-menu.jsx +++ b/frontend/src/component/common/dropdown-menu.jsx @@ -51,7 +51,7 @@ DropdownMenu.propTypes = { callback: PropTypes.func, icon: PropTypes.string, label: PropTypes.string, - startIcon: PropTypes.string, + startIcon: PropTypes.object, }; export default DropdownMenu; diff --git a/frontend/src/component/feature/strategy/strategies-list-component.jsx b/frontend/src/component/feature/strategy/strategies-list-component.jsx index 0ab50c04a3..9296aa4d27 100644 --- a/frontend/src/component/feature/strategy/strategies-list-component.jsx +++ b/frontend/src/component/feature/strategy/strategies-list-component.jsx @@ -34,7 +34,8 @@ const StrategiesList = props => { if (!editStrategyIndex) { updateEditableStrategies(cloneDeep(props.configuredStrategies)); } - }, [props.configuredStrategies, editStrategyIndex]); + /* eslint-disable-next-line */ + }, [props.configuredStrategies]); const updateStrategy = index => strategy => { const newStrategy = { ...strategy };