1
0
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:
Alex Andreev 2021-07-30 15:50:39 +03:00 committed by GitHub
parent 1b88e63343
commit b5f4ab3c44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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