Fix the type error

This commit is contained in:
Aria Minaei 2021-07-05 10:42:14 +02:00
parent 9d514362da
commit ffbfbe4519

View file

@ -62,7 +62,6 @@ const BooleanPropEditor: React.FC<{
const onChange = useCallback( const onChange = useCallback(
(el: React.ChangeEvent<HTMLInputElement>) => { (el: React.ChangeEvent<HTMLInputElement>) => {
window.ppause = true
stuff.permenantlySetValue(Boolean(el.target.checked)) stuff.permenantlySetValue(Boolean(el.target.checked))
}, },
[propConfig, pointerToProp, obj], [propConfig, pointerToProp, obj],