willba-component-library 0.0.36 → 0.0.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.esm.js CHANGED
@@ -8379,6 +8379,8 @@ var fiFilterBar = {
8379
8379
  var urlParams = new URLSearchParams(window.location.search);
8380
8380
  var localeFromUrl = urlParams.get('locale') || 'fi';
8381
8381
  console.log(urlParams);
8382
+ var userPreferredLanguage = navigator.language;
8383
+ console.log('User Preferred Language:', userPreferredLanguage);
8382
8384
  instance.use(initReactI18next).init({
8383
8385
  resources: {
8384
8386
  en: { filterBar: enFilterBar },