Skip to content

Commit

Permalink
[Fix] Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
camarm-dev committed Jan 4, 2024
1 parent f103a2a commit 1316b92
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
<FloatingThemeButton />
</template>
<script setup>
import FloatingThemeButton from "~/components/FloatingThemeButton.vue";
import FloatingThemeButton from '~/components/FloatingThemeButton.vue'
</script>
10 changes: 5 additions & 5 deletions components/FloatingThemeButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { Sun, Moon } from 'lucide-vue-next'
</script>

<template>
<button @click="changeTheme()" class="theme-switcher">
<Sun v-if="theme == 'dark'"/>
<Moon v-else/>
</button>
<button class="theme-switcher" @click="changeTheme()">
<Sun v-if="theme == 'dark'" />
<Moon v-else />
</button>
</template>

<script lang="ts">
Expand All @@ -17,7 +17,7 @@ export default {
theme: 'dark'
}
},
mounted() {
mounted () {
this.theme = this.getTheme()
this.start()
},
Expand Down

0 comments on commit 1316b92

Please sign in to comment.