Skip to content

Commit

Permalink
Merge pull request #1094 from PintoGideon/Catch-all-Feed-Creation-Errors
Browse files Browse the repository at this point in the history
Fix regressions
  • Loading branch information
PintoGideon authored Mar 7, 2024
2 parents ae88184 + a22f640 commit bd67be4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/AddNode/AddNode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const AddNode = ({
for (const i in advancedConfig) {
const inputValue = advancedConfig[i];
//@ts-ignore
if (isNaN(1 * inputValue)) {
if (Number.isNaN(1 * inputValue)) {
advancedConfigErrors[i] = "A valid integer is required";
} else {
if (i === "cpu_limit") {
Expand All @@ -118,7 +118,6 @@ const AddNode = ({
dropdownInput,
requiredInput,
plugin,
errorCallback,
selectedPlugin,
);

Expand Down

0 comments on commit bd67be4

Please sign in to comment.