Skip to content

Commit

Permalink
Fixed parameter to check cached resolved options
Browse files Browse the repository at this point in the history
  • Loading branch information
nodify-at committed Sep 11, 2024
1 parent 04ed489 commit c4aee30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl/locale.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function supportsFastNumbers(loc) {
loc.numberingSystem === "latn" ||
!loc.locale ||
loc.locale.startsWith("en") ||
getCachedIntResolvedOptions(loc.locale).numberingSystem === "latn"
getCachedIntResolvedOptions(loc.intl).numberingSystem === "latn"
);
}
}
Expand Down

0 comments on commit c4aee30

Please sign in to comment.