From 1b06b9d3231b8ab34994fb6459eab252f52d57b4 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Wed, 5 Nov 2025 15:42:52 +0100 Subject: [PATCH] chore: dead code elimination --- src/App.vue | 5 ----- src/components/AppCounter.vue | 9 --------- src/stores/counter.ts | 12 ------------ 3 files changed, 26 deletions(-) delete mode 100644 src/components/AppCounter.vue delete mode 100644 src/stores/counter.ts diff --git a/src/App.vue b/src/App.vue index e872aec..e54cc47 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,5 +1,4 @@ - - diff --git a/src/stores/counter.ts b/src/stores/counter.ts deleted file mode 100644 index d5e548a..0000000 --- a/src/stores/counter.ts +++ /dev/null @@ -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 }; -});