Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 25, 2024
1 parent 198be1c commit fec7043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/stories/JSONSchemaInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ export class JSONSchemaInput extends LitElement {

// Remove requirement from form schema (and force if conditional requirement)
else {
const requirements = formSchema.required
const requirements = formSchema.required;
if (requirements && requirements.includes(name)) {
const idx = requirements.indexOf(name);
if (idx > -1) requirements.splice(idx, 1);
Expand Down

0 comments on commit fec7043

Please sign in to comment.