diff --git a/packages/interface-default/src/interface.tsx b/packages/interface-default/src/interface.tsx index a2c9773b..dfd925e4 100644 --- a/packages/interface-default/src/interface.tsx +++ b/packages/interface-default/src/interface.tsx @@ -1,4 +1,5 @@ import React, { + MouseEvent, Suspense, useCallback, useContext, @@ -73,7 +74,7 @@ export const Interface: React.FC = ({ const formContainerRef = useRef(null) const toggleControlForm = useCallback( - (e: Event) => { + (e: MouseEvent) => { e.preventDefault() setFormVisible(!formVisible) },