Skip to content

Commit

Permalink
fix(overlay): set autoBind true to AuthState makeAutoObservable (#1088)
Browse files Browse the repository at this point in the history
* fix(overlay): use arrow function for openSignInModal

* fix(overlay): set autoBind true to AuthState makeAutoObservable

* tech: remove i18n changes
  • Loading branch information
eliobricenov authored Sep 25, 2024
1 parent 38be9f3 commit d6be3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/state/authState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class AuthState {
authToken = ''

constructor() {
makeAutoObservable(this)
makeAutoObservable(this, {}, { autoBind: true })
this.signInModalOpen = onboardingStore.get(
'openAuthModalIfAppReloads',
false
Expand Down

0 comments on commit d6be3c6

Please sign in to comment.