fix(*): Ensure modal closes

This commit is contained in:
Josh Creek
2024-06-20 19:54:14 +01:00
parent 58ed434f00
commit a40ed612c9
-2
View File
@@ -4,10 +4,8 @@
export let body = ''; export let body = '';
function handleOverlayClick(event) { function handleOverlayClick(event) {
if (event.target.id === 'modal-overlay') {
showModal = false; showModal = false;
} }
}
</script> </script>
<div class="modal-container"> <div class="modal-container">