UI: fix missing types

This commit is contained in:
Johannes Kirschbauer
2024-12-29 11:40:06 +01:00
parent fc5cb6cde2
commit b3f1c46880
2 changed files with 7 additions and 7 deletions

View File

@@ -59,10 +59,10 @@ export const Modal = (props: ModalProps) => {
}}
onMouseMove={handleMouseMove}
onMouseUp={handleMouseUp}
onMouseDown={(e) => {
onMouseDown={(e: MouseEvent) => {
e.stopPropagation(); // Prevent backdrop drag conflict
}}
onClick={(e) => e.stopPropagation()} // Prevent backdrop click closing
onClick={(e: MouseEvent) => e.stopPropagation()} // Prevent backdrop click closing
>
<Dialog.Label
as="div"