From 45563e7d6d27b7d20c3ee3d0d8fc14d2d72e640f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 17:50:32 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/renderer/src/stories/SimpleTable.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/stories/SimpleTable.js b/src/renderer/src/stories/SimpleTable.js index bbcfc1f38..6350c930e 100644 --- a/src/renderer/src/stories/SimpleTable.js +++ b/src/renderer/src/stories/SimpleTable.js @@ -743,12 +743,11 @@ export class SimpleTable extends LitElement { if (latest) latest.insertAdjacentElement("afterend", newRow); else bodyEl.append(newRow); }); - + setTimeout(() => { - this.#onUpdate([], this.data) + this.#onUpdate([], this.data); resolve(); - }, 50) // Wait for table to update asynchronously - + }, 50); // Wait for table to update asynchronously } else { this.#onUpdate([], this.data); resolve();