Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
update: lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
MadanKumarGovindaswamy committed May 21, 2024
1 parent cee03bd commit 619504a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/terra-navigation-side-menu/src/NavigationSideMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,13 +265,13 @@ class NavigationSideMenu extends Component {

if (event.nativeEvent.keyCode === KeyCode.KEY_ESCAPE) {
const parentKey = this.state.parents[this.props.selectedMenuKey];
if (parentKey) {
this.handleBackClick(event);
} else if (this.props.routingStackBack) {
this.props.routingStackBack();
}
if (parentKey) {
this.handleBackClick(event);
} else if (this.props.routingStackBack) {
this.props.routingStackBack();
}
}

if (event.nativeEvent.keyCode === KeyCode.KEY_SPACE || event.nativeEvent.keyCode === KeyCode.KEY_RETURN) {
event.preventDefault();
if (!item.isDisabled) {
Expand Down Expand Up @@ -420,8 +420,8 @@ class NavigationSideMenu extends Component {

const titleStyles = cx([
'title',
{ 'nav-side-menu-title' : (variant === VARIANTS.NAVIGATION_SIDE_MENU) },
{ '.drill-in-title' : (variant === VARIANTS.DRILL_IN) },
{ 'nav-side-menu-title': (variant === VARIANTS.NAVIGATION_SIDE_MENU) },
{ 'drill-in-title': (variant === VARIANTS.DRILL_IN) },
]);

let header;
Expand Down

0 comments on commit 619504a

Please sign in to comment.