Remove unnecessary eslint disable

This commit is contained in:
Maximilian Harz 2025-02-10 23:28:11 +01:00
parent 134d2ef123
commit 23145b0a14

View File

@ -46,7 +46,6 @@ const DialogModal = ({
<dialog
className={`${className ?? ''} tw-card tw-shadow-xl tw-absolute tw-right-0 tw-top-0 tw-bottom-0 tw-left-0 tw-m-auto tw-transition-opacity tw-duration-300 tw-p-4 tw-max-w-xl tw-bg-base-100`}
ref={ref}
// eslint-disable-next-line react/no-unknown-property
onCancel={onClose}
onClick={(e) =>
ref.current && !isClickInsideRectangle(e, ref.current) && closeOnClickOutside && onClose()