Fix TS lint error caused by a React typing change

This commit is contained in:
diondiondion
2026-07-16 12:08:42 +02:00
committed by Claire
parent e9c8401143
commit ac385af2f4

View File

@@ -52,8 +52,8 @@ export const ConfirmationModal: React.FC<
noCloseOnConfirm = false,
noFocusButton = false,
}) => {
const handleSubmit = useCallback<React.SubmitEventHandler<HTMLFormElement>>(
(e) => {
const handleSubmit = useCallback(
(e: React.FormEvent) => {
e.preventDefault();
if (!noCloseOnConfirm) {