Fixing <Tab/> onKeyDown error (#3537)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2021-07-30 08:50:39 -04:00
1 parent 1b88e63343
commit b5f4ab3c44
1 file changed
+1 -1
+1 -1
View File
@@ -127,7 +127,7 @@ export class Tab extends React.PureComponent<TabProps> {
this.ref.current?.click();
}
this.props?.onKeyDown(evt);
this.props.onKeyDown?.(evt);
}
componentDidMount() {