Skip to content

Commit 89d2f66

Browse files
committed
Fix linting
1 parent 777d780 commit 89d2f66

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@
162162
"template-curly-spacing": "off",
163163
"import/no-extraneous-dependencies": "off",
164164
"import/no-unassigned-import": "off",
165+
"import/no-named-as-default-member": "off",
165166
"react/jsx-closing-tag-location": "off",
166167
"react/require-default-props": "off",
167168
"react/jsx-curly-brace-presence": "off",

renderer/utils/inputs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ const handleInputKeyPress = (onChange, min, max) => event => {
184184

185185
const multiplier = event.shiftKey ? 10 : 1;
186186
const parsedValue = Number.parseInt(event.currentTarget.value, 10);
187-
if (parsedValue === Number.NaN) {
187+
if (Number.isNaN(parsedValue)) {
188188
return;
189189
}
190190

0 commit comments

Comments
 (0)