Skip to content

Commit

Permalink
Merge pull request #38 from Matt-Hurd/mhurd/feat/notes_for_all
Browse files Browse the repository at this point in the history
Allow all users to set notes
  • Loading branch information
Matt-Hurd authored Sep 14, 2023
2 parents b9905c3 + e8a1a9e commit 4129f02
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/utils/StorageManager.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
class StorageManager {
static setItem(key: string, value: unknown) {
if (!import.meta.env.PROD) {
// Prevent current "Production" build from leaving a mess for testers
localStorage.setItem("totum." + key, JSON.stringify(value));
}
localStorage.setItem("totum." + key, JSON.stringify(value));
}

static getItem(key: string) {
Expand Down

0 comments on commit 4129f02

Please sign in to comment.