From c9aefa81ca1950121d2357fc66afe15eb400f537 Mon Sep 17 00:00:00 2001
From: Leonardo Bishop <me@leonardobishop.com>
Date: Fri, 15 Mar 2024 00:13:40 +0000
Subject: Fix eslint errors

---
 .../editor/quest/modal/EditorQuestModalYaml.vue    | 23 ++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

(limited to 'components/editor/quest/modal/EditorQuestModalYaml.vue')

diff --git a/components/editor/quest/modal/EditorQuestModalYaml.vue b/components/editor/quest/modal/EditorQuestModalYaml.vue
index 365055c..c7c4936 100644
--- a/components/editor/quest/modal/EditorQuestModalYaml.vue
+++ b/components/editor/quest/modal/EditorQuestModalYaml.vue
@@ -6,7 +6,7 @@ const emit = defineEmits(['delete']);
 const props = defineProps({
   questId: {
     required: true,
-    type: String
+    type: String,
   },
 });
 
@@ -18,16 +18,16 @@ const yamlString = ref('');
 const open = () => {
   const quest = session.getQuestById(props.questId);
   if (!quest) {
-    return
+    return;
   }
   const mappedObject = mapJsonQuestToYamlObject(quest);
   yamlString.value = stringify(mappedObject);
   showModal.value = true;
-}
+};
 
 defineExpose({
-  open
-})
+  open,
+});
 </script>
 
 <template>
@@ -36,12 +36,19 @@ defineExpose({
       <h2>YAML</h2>
     </template>
 
-    <p>YAML file for <code>{{ props.questId }}</code></p>
+    <p>
+      YAML file for <code>{{ props.questId }}</code>
+    </p>
 
     <textarea rows="20" :value="yamlString" readonly />
 
     <div id="confirm" class="control-group">
-      <Button type="solid" :icon="['fas', 'check']" :label="'Close'" @click="showModal = false"></Button>
+      <Button
+        type="solid"
+        :icon="['fas', 'check']"
+        :label="'Close'"
+        @click="showModal = false"
+      ></Button>
     </div>
   </Modal>
 </template>
@@ -56,4 +63,4 @@ defineExpose({
 textarea {
   width: 100%;
 }
-</style>
\ No newline at end of file
+</style>
-- 
cgit v1.2.3-70-g09d2

