Hi,
I have an initStorage when the page load.
initStorage: () => { storeValue('adchaseStorage', get_data.data.map(item => { return { adchaseId: item.adc_id, selectionId: item.SELECTION_sel_id, score: null, label: null, } })); }
It store 10 items in the storage.
When I filter data, I wish to upload the storage with the good number of items.
So I call a updateStorage with dataList as an array
```
updateStorage: (dataList) => {
storeValue('adchaseStorage', dataList.map(item => {
return {
adchaseId: item.adc_id,
selectionId: item.SELECTION_sel_id,
score: null,
label: null,
}
}));
}```
It doesn't work.
What did I do wrong on the update function? 😦