From c8e825195912ac85b080bb01e0bcac2be49fcc29 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 22:22:20 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js b/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js index 5f9f80fcf..71c060fa7 100644 --- a/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js +++ b/src/renderer/src/stories/pages/guided-mode/setup/GuidedNewDatasetInfo.js @@ -98,10 +98,9 @@ export class GuidedNewDatasetPage extends Page { this.notify(`${header(name)} has been overridden with a global value.`, "warning", 3000); }, validateOnChange: async (...args) => { - const results = await validateOnChange.call(this.form, ...args) + const results = await validateOnChange.call(this.form, ...args); if (!results && args[0] === "name") this.#nameNotification && this.dismiss(this.#nameNotification); - return results - + return results; }, onUpdate: () => (this.unsavedUpdates = true), onThrow: function (message) {