Skip to content

Commit

Permalink
build: re-applied prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pozil committed Nov 24, 2023
1 parent 2a9e90d commit a3663c5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/modules/ui/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ export default class App extends LightningElement {
window.onpopstate = function (event) {
if (event.state && event.state.page) {
that._isWindowHistoryUpdate = true;
that.navigationItems[
that.currentNavigationItem
].visible = false;
that.navigationItems[that.currentNavigationItem].visible =
false;
that.currentNavigationItem = event.state.page;
that.hideCurrentNavigationItemFromNav();
that.handleCategoryChange();
Expand Down Expand Up @@ -46,9 +45,8 @@ export default class App extends LightningElement {
handleCategoryChange(event) {
if (event) {
if (this.currentNavigationItem !== event.detail) {
this.navigationItems[
this.currentNavigationItem
].visible = false;
this.navigationItems[this.currentNavigationItem].visible =
false;
this.currentNavigationItem = event.detail;
} else {
return;
Expand Down

0 comments on commit a3663c5

Please sign in to comment.