Skip to content

Commit

Permalink
Pass env to persistent storage init
Browse files Browse the repository at this point in the history
  • Loading branch information
bartblast committed Oct 11, 2024
1 parent ed74602 commit 6a71cce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/hologram.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ export default class Hologram {
}
});

PersistentStorage.init();
PersistentStorage.init("dev");

Client.connect();

Expand All @@ -539,7 +539,7 @@ export default class Hologram {

window.addEventListener("pageshow", (event) => {
if (event.persisted) {
PersistentStorage.init();
PersistentStorage.init("dev");
Client.connect();
}
});
Expand Down

0 comments on commit 6a71cce

Please sign in to comment.