Resolved ALL eslint issues for project

This commit is contained in:
2022-08-12 23:46:55 +02:00
parent 29dfe55974
commit 3594b18872
63 changed files with 1064 additions and 800 deletions

View File

@@ -4,8 +4,8 @@
v-for="option in options"
:key="option"
class="toggle-button"
@click="toggleTo(option)"
:class="selected === option ? 'selected' : null"
@click="() => toggleTo(option)"
>
{{ option }}
</button>
@@ -13,8 +13,7 @@
</template>
<script setup lang="ts">
import { ref, defineProps, defineEmits } from "vue";
import type { Ref } from "vue";
import { defineProps, defineEmits } from "vue";
interface Props {
options: string[];