1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fixing <Tab/> onKeyDown error

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2021-07-30 15:07:42 +03:00
parent 1b88e63343
commit 0f3ab01c1c

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() {