Skip to content

Commit

Permalink
Having to remove type cast because the type changed, see phetsims/joi…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanolson committed May 16, 2024
1 parent 857d3eb commit 0c92ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/model/NumberSuiteCommonPreferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class NumberSuiteCommonPreferences {
this.showSecondLocaleProperty = new BooleanProperty( !!NumberSuiteCommonQueryParameters.secondLocale );

// if a secondLocale was provided via a query parameter, use that, otherwise default to the primaryLocale
this.secondLocaleProperty = new Property<Locale>( NumberSuiteCommonQueryParameters.secondLocale as Locale || localeProperty.value, {
this.secondLocaleProperty = new Property<Locale>( NumberSuiteCommonQueryParameters.secondLocale || localeProperty.value, {
validValues: availableRuntimeLocales
} );

Expand Down

0 comments on commit 0c92ece

Please sign in to comment.