Skip to content

Commit

Permalink
Fix linter findings in common components
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bucher committed Apr 29, 2024
1 parent 78790d5 commit da39a02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webpack/components/common/DeleteTableEntry.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ const DeleteTableEntry = ({
onDeleteTableEntry,
additionalData,
}) => {
const [showModal, setShowModal] = useState(false);
const toggleModal = () => setShowModal(!showModal);

if (hidden) {
return null;
}

const [showModal, setShowModal] = useState(false);
const toggleModal = () => setShowModal(!showModal);

return (
<span>
<MessageDialog
Expand Down

0 comments on commit da39a02

Please sign in to comment.