Update MenuState.ts: Fix typo

This commit is contained in:
Pieter Vander Vennet 2024-08-31 17:08:16 +02:00 committed by GitHub
parent bb950b92e4
commit b353be5360
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -38,7 +38,7 @@ export class MenuState {
states[pageName] = toggle states[pageName] = toggle
} }
this.pageStates = <Record<PageType, UIEventSource<boolean>>>states this.pageStates = <Record<PageType, UIEventSource<boolean>>>states
this.menuOsOpened = this.pageStates.menu this.menuIsOpened = this.pageStates.menu
for (const pageName of MenuState.pageNames) { for (const pageName of MenuState.pageNames) {