mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing <Tab/> onKeyDown error (#3537)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
1b88e63343
commit
b5f4ab3c44
@ -127,7 +127,7 @@ export class Tab extends React.PureComponent<TabProps> {
|
||||
this.ref.current?.click();
|
||||
}
|
||||
|
||||
this.props?.onKeyDown(evt);
|
||||
this.props.onKeyDown?.(evt);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user