chore: dead code elimination

This commit is contained in:
Pihkaal
2025-11-05 15:42:52 +01:00
parent 9fd07ee0f8
commit 1b06b9d323
3 changed files with 0 additions and 26 deletions

View File

@@ -1,5 +1,4 @@
<script setup lang="ts">
import AppCounter from "@/components/AppCounter.vue";
import { extractData } from "@/utils/data";
import { generateIcsCalendar } from "ts-ics";
@@ -32,10 +31,6 @@ const downloadCalendar = async () => {
<div class="query-section">
<button @click="downloadCalendar">Download calendar</button>
</div>
<hr />
<AppCounter />
</div>
</template>

View File

@@ -1,9 +0,0 @@
<script setup lang="ts">
import { useCounterStore } from "@/stores/counter";
const counter = useCounterStore();
</script>
<template>
<button @click="counter.increment">Count: {{ counter.count }}</button>
</template>

View File

@@ -1,12 +0,0 @@
import { ref } from "vue";
import { defineStore } from "pinia";
export const useCounterStore = defineStore("counter", () => {
const count = ref(0);
const increment = () => {
count.value += 1;
};
return { count, increment };
});