Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Update src/stores/ui.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat authored Nov 12, 2022
1 parent 9b599fa commit 503521d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/stores/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ export const useUiStore = defineStore('ui', {
initFromCookies(cookies: OpenverseCookies) {
this.isDesktopLayout = cookies.uiIsDesktopLayout ?? false
this.isFilterDismissed = cookies.uiIsFilterDismissed ?? false

// Middleware sets the cookie value before calling `initFromCookies`.
this.isMobileUa = cookies.uiIsMobileUa ?? false
this.innerFilterVisible = this.isDesktopLayout
? !this.isFilterDismissed
Expand Down

0 comments on commit 503521d

Please sign in to comment.