From 15bc0ca126a5c6911168424710c8f6d1c6706b24 Mon Sep 17 00:00:00 2001 From: Pagwin Date: Wed, 3 Sep 2025 17:02:03 -0400 Subject: [PATCH] oop --- static/demos/light-dark-demo-4/sw.js | 1 - 1 file changed, 1 deletion(-) diff --git a/static/demos/light-dark-demo-4/sw.js b/static/demos/light-dark-demo-4/sw.js index a2051a1..4af865e 100644 --- a/static/demos/light-dark-demo-4/sw.js +++ b/static/demos/light-dark-demo-4/sw.js @@ -34,7 +34,6 @@ async function handle_redirect(req){ const transaction = db.transaction("light-dark-store", "readwrite"); transaction.oncomplete = res; - transaction.objectStore("light-dark-store", "readwrite"); toggleLightDark(transaction) .then(transaction.commit.bind(transaction)) .then(res);