This commit is contained in:
Alex Tran
2023-11-28 23:11:29 -06:00
parent 78932f3483
commit 7b73941531

View File

@@ -29,8 +29,11 @@
};
const handleConfirm = () => {
if (!point) return;
dispatch('confirm', point);
if (!point) {
dispatch('cancel');
} else {
dispatch('confirm', point);
}
};
</script>