Remove unneeded imports and methods

This commit is contained in:
Jan Bader 2022-02-25 22:14:56 +00:00
parent 5f161b2163
commit 4ed15b740b

View File

@ -1,5 +1,5 @@
<script lang="ts" setup> <script lang="ts" setup>
import { defineComponent, PropType, ref, watch } from "vue" import { ref, watch } from "vue"
import { GET } from "../api"; import { GET } from "../api";
import { useBudgetsStore } from "../stores/budget"; import { useBudgetsStore } from "../stores/budget";
@ -20,9 +20,6 @@ const emit = defineEmits(["update:id", "update:text"]);
watch(SearchQuery, () => { watch(SearchQuery, () => {
load(SearchQuery.value); load(SearchQuery.value);
}); });
function saveTransaction(e: MouseEvent) {
e.preventDefault();
};
function load(text: String) { function load(text: String) {
emit('update:id', null); emit('update:id', null);
emit('update:text', text); emit('update:text', text);