some cleanup

This commit is contained in:
Believethehype
2024-02-02 11:23:58 +01:00
parent 9351e32c0f
commit efc89c01cb
6 changed files with 60 additions and 47 deletions

View File

@@ -338,6 +338,7 @@ import ModalComponent from "../components/Newnote.vue";
const isModalOpened = ref(false);
const modalcontent = ref("");
const openModal = result => {
isModalOpened.value = true;
modalcontent.value = result
@@ -347,7 +348,7 @@ const closeModal = () => {
};
const submitHandler = async () => {
console.log("hello")
await post_note(modalcontent)
}