diff --git a/layer/components/ModalWrapper.vue b/layer/components/ModalWrapper.vue index 4bbc69e4..0ed37e48 100644 --- a/layer/components/ModalWrapper.vue +++ b/layer/components/ModalWrapper.vue @@ -40,9 +40,7 @@ function onModalClose() { closeModal() } -onKeyStroke('Escape', () => { - closeModal() -}) +onKeyStroke('Escape', closeModal) onClickOutside( modalRef, @@ -61,39 +59,25 @@ export default { - -