-
+
+
+
+
+
+
+
{{ error }}
+
{{ successMessage }}
+
+
+
+
+
diff --git a/src/components/DeleteListModal.vue b/src/components/DeleteListModal.vue
index d8f614c..38dc474 100644
--- a/src/components/DeleteListModal.vue
+++ b/src/components/DeleteListModal.vue
@@ -1,6 +1,6 @@
-
-
-
+
+
+ Are you sure you want to delete this list? This action cannot be undone and all items in this
+ list will be deleted.
+
-
- Are you sure you want to delete this list? This action cannot be undone and all items in
- this list will be deleted.
-
-
-
-
-
+
+
+
+
+
diff --git a/src/components/ShareListModal.vue b/src/components/ShareListModal.vue
index 08ce08f..e3e208f 100644
--- a/src/components/ShareListModal.vue
+++ b/src/components/ShareListModal.vue
@@ -2,7 +2,7 @@
import { ref, onMounted, nextTick } from 'vue'
import type { LocalList } from '@/database/db'
import { useListsStore } from '@/stores/lists'
-import { useEscapeKey } from '@/composables/useEscapeKey'
+import BaseModal from '@/components/BaseModal.vue'
const props = defineProps<{
list: LocalList
@@ -20,8 +20,6 @@ const isSubmitting = ref(false)
const error = ref('')
const successMessage = ref('')
-useEscapeKey(handleClose)
-
onMounted(() => {
nextTick(() => {
emailInput.value?.focus()
@@ -53,103 +51,42 @@ async function handleAddUser() {
-