Skip to content

Commit 6428357

Browse files
authored
fix(appearance): Remove duplicate initializeTheme call
initializeTheme is already called in app.ts
1 parent 56b3d93 commit 6428357

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

resources/js/composables/useAppearance.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ export function useAppearance() {
6666
const appearance = ref<Appearance>('system');
6767

6868
onMounted(() => {
69-
initializeTheme();
70-
7169
const savedAppearance = localStorage.getItem('appearance') as Appearance | null;
7270

7371
if (savedAppearance) {

0 commit comments

Comments
 (0)