fix: remove setResource in favor of setLocalData
This commit is contained in:
parent
607792988d
commit
ccc093b85f
@ -11,7 +11,7 @@ if ('serviceWorker' in navigator) {
|
|||||||
try {
|
try {
|
||||||
const updatedData = await updatedResponse.json();
|
const updatedData = await updatedResponse.json();
|
||||||
if (sibStore && "setResource" in sibStore) {
|
if (sibStore && "setResource" in sibStore) {
|
||||||
sibStore.setResource(updatedURL, updatedData);
|
sibStore.setLocalData(updatedData, updatedURL);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
Loading…
Reference in New Issue
Block a user