reset db on load

author
Marijn Besseling <njirambem@gmail.com> · 2026-01-22 19:59 UTC
commit
71e1c0fd7abbece6b84b9845226317ac58e76fa9
parent
3b398ae712
tree
browse at this commit

1 file changed +1 -0

Blog/Components/Pages/Storage.razor.js +1 -0

@@ -41,6 +41,7 @@ function InitDB(upgradeCallback) {
41 41
42 42 export function onLoad() {
43 43 try {
44 + db = null;
44 45 InitDB(null);
45 46
46 47 const newStoreButton = getById('newStoreButton');