diff --git a/src/main/webui/src/app/components/content/common/ListControl.jsx b/src/main/webui/src/app/components/content/common/ListControl.jsx index de3b8a2..5932486 100644 --- a/src/main/webui/src/app/components/content/common/ListControl.jsx +++ b/src/main/webui/src/app/components/content/common/ListControl.jsx @@ -20,6 +20,8 @@ import {useNavigate} from 'react-router-dom'; import {PropTypes} from 'prop-types'; export default function ListControl({type, legends, handleHideAll, handleSearch, handleDebug, handleSortBy}) { + // TODO: check if this debug and setDebug state is really needed + // eslint-disable-next-line no-unused-vars const [debug, setDebug] = useState(false); const navigate = useNavigate(); return ( diff --git a/src/main/webui/src/app/utils/AppUtils.js b/src/main/webui/src/app/utils/AppUtils.js index f5defc9..dab87dc 100644 --- a/src/main/webui/src/app/utils/AppUtils.js +++ b/src/main/webui/src/app/utils/AppUtils.js @@ -152,6 +152,7 @@ export const Utils = { logMessage: (message, ...params) => { const allParams = [message]; params.forEach(p => allParams.push(p)); + // eslint-disable-next-line no-console Reflect.apply(console.log, undefined, allParams); }, rewriteTargetObject: (origin, target) => {