Skip to content

Commit

Permalink
Merge pull request #163 from ligangty/eslint
Browse files Browse the repository at this point in the history
Disable two eslint warnings
  • Loading branch information
ligangty authored Jan 31, 2024
2 parents 8b55d61 + cdc9d79 commit e93b0b2
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 e93b0b2

Please sign in to comment.