Skip to content

Commit

Permalink
Disable two eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ligangty committed Jan 31, 2024
1 parent 8b55d61 commit cdc9d79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
1 change: 1 addition & 0 deletions src/main/webui/src/app/utils/AppUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit cdc9d79

Please sign in to comment.