Skip to content

Commit f56acb9

Browse files
committed
chore: format new files to comply with ESLint/Prettier before CI workflow
1 parent 75a235a commit f56acb9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/components/giscus.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,10 @@ const GiscusComments: React.FC = () => {
8585

8686
// Use localStorage to get user's last theme or fallback to 'light'
8787
const storedTheme =
88-
localStorage.getItem("theme") || (
89-
document.documentElement.getAttribute("data-theme") === "dark"
88+
localStorage.getItem("theme") ||
89+
(document.documentElement.getAttribute("data-theme") === "dark"
9090
? "dark"
91-
: "light"
92-
);
91+
: "light");
9392

9493
const script = document.createElement("script");
9594
script.src = "https://giscus.app/client.js";

0 commit comments

Comments
 (0)