Skip to content

Commit

Permalink
[rector] Rector fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-to authored and github-actions[bot] committed Nov 7, 2024
1 parent 1a40537 commit 7b2f173
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/UI/src/Components/Layout/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ protected function prepareBeforeRender(): void

if ($this->withThemes) {
$this->customAttributes([
':class' => !$this->alwaysDark
? "\$store.darkMode.on ? 'dark' : ''"
: "'dark'",
':class' => $this->alwaysDark
? "'dark'"
: "\$store.darkMode.on ? 'dark' : ''",
]);
}
}
Expand Down

0 comments on commit 7b2f173

Please sign in to comment.