Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-mng committed Jan 14, 2025
1 parent e1952eb commit 64d967c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/web/pages/nvts/nvtpreference.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const StyledTableData = styled(TableData)`
word-break: break-word;
`;

const noop_convert = value => value;
const noopConvert = value => value;

const NvtPreference = ({preference, value = '', onChange}) => {
const [checked, setChecked] = useState(false);
Expand All @@ -50,7 +50,7 @@ const NvtPreference = ({preference, value = '', onChange}) => {
if (type === 'checkbox') {
input = (
<YesNoRadio
convert={noop_convert}
convert={noopConvert}
noValue="no"
value={value}
yesValue="yes"
Expand Down

0 comments on commit 64d967c

Please sign in to comment.