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 18, 2024
1 parent ddce1cd commit 2823290
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/renderer/src/stories/JSONSchemaForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,14 +465,11 @@ export class JSONSchemaForm extends LitElement {
if (!container) return;

const nChildren = container.children.length;
container.remove()
container.remove();

// Track errors and warnings
if (type === "errors") this.#nErrors -= nChildren;
if (type === "warnings") this.#nWarnings -= nChildren;



};

status;
Expand Down

0 comments on commit 2823290

Please sign in to comment.