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 {
|
||||
const updatedData = await updatedResponse.json();
|
||||
if (sibStore && "setResource" in sibStore) {
|
||||
sibStore.setResource(updatedURL, updatedData);
|
||||
sibStore.setLocalData(updatedData, updatedURL);
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
|
Loading…
Reference in New Issue
Block a user