Match useErrorBoundary type with componentDidCatch
Match useErrorBoundary type with componentDidCatch

useErrorBoundary returned a string type while componentDidCatch returned an explicit any type
developit/preact,developit/preact