chore: add some code format

This commit is contained in:
Joxit
2023-04-16 18:33:22 +02:00
parent 4f452207c4
commit ea508e6a1d
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ const normalizeKey = (k) =>
.replace(/^theme-/, '');
const preferDarkMode = ({ theme }) => {
if (theme === 'auto' || theme === "") {
if (theme === 'auto' || theme === '') {
switch (localStorage.getItem(LOCAL_STORAGE_THEME)) {
case 'dark':
return true;