Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
treeder committed Oct 19, 2023
1 parent 4bae30b commit 992fe2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions state.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export class State extends EventTarget { // implements EventTarget (partially an
}

saveState() {
// can probably ditch this whole state object now that we're using individual keys
localStorage.setItem(State.stateKey, JSON.stringify(Object.fromEntries(this.stateMap)))
}

Expand Down

0 comments on commit 992fe2d

Please sign in to comment.