From bdcee0c02b287aed1b4deeb391b316bcdeda93d8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 3 Apr 2024 16:10:24 +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/Dashboard.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/renderer/src/stories/Dashboard.js b/src/renderer/src/stories/Dashboard.js index 6f4248ed5..0cb5f33e8 100644 --- a/src/renderer/src/stories/Dashboard.js +++ b/src/renderer/src/stories/Dashboard.js @@ -283,13 +283,14 @@ export class Dashboard extends LitElement { if (!state) state = globalState.sections[section] = { open: false, active: false, pages: {} }; let pageState = state.pages[id]; - if (!pageState) pageState = state.pages[id] = { - visited: false, - active: false, - saved: false, - pageLabel: page.info.label, - pageTitle: page.info.title, - }; + if (!pageState) + pageState = state.pages[id] = { + visited: false, + active: false, + saved: false, + pageLabel: page.info.label, + pageTitle: page.info.title, + }; info.states = pageState;