Skip to content

Commit 743d6ba

Browse files
committed
Fix mobile navbar lint regressions
1 parent 49359a4 commit 743d6ba

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

addon/components/layout/mobile-navbar.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ export default class LayoutMobileNavbarComponent extends Component {
5151
try {
5252
await this.getRouter().transitionTo(route);
5353
this.closeSidebar();
54-
} catch {}
54+
} catch (error) {
55+
void error;
56+
}
5557
}
5658

5759
@action toggleSidebar() {

addon/styles/layout/mobile.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
@apply transition duration-500 ease-in-out;
1212
}
1313

14-
.next-sidebar:not(.sidebar-hidden):not(.sidebar-hide),
14+
.next-sidebar:not(.sidebar-hidden, .sidebar-hide),
1515
.next-sidebar.sidebar-minimized {
1616
@apply opacity-100;
1717
transform: translateX(0px);

0 commit comments

Comments
 (0)