chore(nesting): reduced nesting

This commit is contained in:
2026-07-22 00:01:39 +02:00
parent 21c61968fe
commit e613d96ddf
2 changed files with 218 additions and 270 deletions
+4 -1
View File
@@ -52,7 +52,10 @@ export default function Header({ theme }: HeaderProps) {
</nav>
<div>
<button className="ui-btn ui-btn:hover text-lg font-[NerdFontSymbols]" onClick={toggleTheme}>
<button
className="ui-btn ui-btn:hover text-lg font-[NerdFontSymbols]"
onClick={toggleTheme}
>
{currentTheme === "macchiato" ? "" : ""}
</button>
</div>