Skip to content

Commit b056554

Browse files
author
vvo
committed
perf(formatting numbers): stop using a default locale, use the system one
When no local provided, it will use the user one. It should be more relevant AND does provide a good perf boost.
1 parent 95f940c commit b056554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/InstantSearch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class InstantSearch extends EventEmitter {
4040
appId = null,
4141
apiKey = null,
4242
indexName = null,
43-
numberLocale = 'en-EN',
43+
numberLocale,
4444
searchParameters = {},
4545
urlSync = null
4646
}) {

0 commit comments

Comments
 (0)