Remove unnecessary code

This commit is contained in:
Kloon ImKloon 2023-11-04 14:52:30 +01:00
parent 6034de7bd4
commit 7c89d19b83
No known key found for this signature in database
GPG Key ID: CCF1C86A995C5B6A

View File

@ -1,7 +1,5 @@
<template>
<div>
<ModalsContainer />
</div>
<ModalsContainer />
</template>
<script setup lang="ts">
@ -76,13 +74,4 @@ watch(show, (newValue) => {
closeModal.value = close;
open();
});
window.addEventListener("keydown", (event) => {
if (!layoutStore.show) return;
if (event.key === "Escape") {
event.stopImmediatePropagation();
layoutStore.closeHovers();
}
});
</script>