Fix loading in confirmation modal (#36477)

This commit is contained in:
Joshen Lim
2025-06-17 19:40:33 +08:00
committed by GitHub
parent aeb8587544
commit bb7e7696e8

View File

@@ -66,7 +66,7 @@ const ConfirmationModal = forwardRef<
e.preventDefault()
e.stopPropagation()
onConfirm()
if (loading === undefined) setLoading(true)
if (loading_ === undefined) setLoading(true)
}
useEffect(() => {