Needed an upgrade from development to figure out this conundrum

This commit is contained in:
Markus Olsson 2021-09-24 15:16:31 +02:00
parent 9151fbd355
commit b3f7b9b0a2

View file

@ -50,7 +50,7 @@ export class WhitespaceHintPopover extends React.Component<
this.props.onDismissed()
}
private onDismissed = (event?: React.MouseEvent<HTMLButtonElement>) => {
private onDismissed = (event?: React.MouseEvent | MouseEvent) => {
event?.preventDefault()
this.props.onDismissed()
}