@salesforcedevs/dx-components 1.3.92-alpha-005-localstorage → 1.3.92-alpha-006-localstorage

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforcedevs/dx-components",
3
- "version": "1.3.92-alpha-005-localstorage",
3
+ "version": "1.3.92-alpha-006-localstorage",
4
4
  "description": "DX Lightning web components",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -364,12 +364,8 @@ export default class SidebarSearch extends LightningElement {
364
364
  uniqueId,
365
365
  href,
366
366
  selected: isSelected,
367
- select: () => {
368
- const resultStringified = JSON.stringify(result);
369
- console.log(result);
370
- console.log(resultStringified);
371
- window.localStorage.setItem(RESULT_CLICK_LOCAL_STORAGE_KEY, resultStringified)
372
- },
367
+ select: () =>
368
+ window.localStorage.setItem(RESULT_CLICK_LOCAL_STORAGE_KEY, JSON.stringify(result)),
373
369
  };
374
370
  };
375
371