Fixing <Tab/> onKeyDown error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2021-07-30 15:07:42 +03:00
1 parent 1b88e63343
commit 0f3ab01c1c
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() {