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.js CHANGED
@@ -8399,6 +8399,8 @@ var fiFilterBar = {
8399
8399
  var urlParams = new URLSearchParams(window.location.search);
8400
8400
  var localeFromUrl = urlParams.get('locale') || 'fi';
8401
8401
  console.log(urlParams);
8402
+ var userPreferredLanguage = navigator.language;
8403
+ console.log('User Preferred Language:', userPreferredLanguage);
8402
8404
  instance.use(initReactI18next).init({
8403
8405
  resources: {
8404
8406
  en: { filterBar: enFilterBar },