[Glitch] Fix TS lint error caused by a React typing change

Port ac385af2f4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion
2026-07-19 11:32:33 +02:00
committed by Claire
parent 7b9d328069
commit cab8833e82
@@ -60,8 +60,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) {