Skip to content

Commit

Permalink
Fix settings not being persisted
Browse files Browse the repository at this point in the history
  • Loading branch information
gurbindersingh committed Jul 11, 2024
1 parent 962ad3f commit e04d4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function setupEventListeners() {
? element.valueAsNumber / 100
: element.valueAsNumber;
// console.log(settings);

window.localStorage.setItem("settings", JSON.stringify(settings));
const data = createProjection();
drawChart(data);
})
Expand Down

0 comments on commit e04d4b1

Please sign in to comment.