From f4fce3375eb16a9136234f087415bacefaaca027 Mon Sep 17 00:00:00 2001 From: Benjamin Auder <benjamin.auder@somewhere> Date: Mon, 26 Apr 2021 19:53:18 +0200 Subject: [PATCH] Fix last update --- client/src/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/store.js b/client/src/store.js index 40e0ac25..d57a7f55 100644 --- a/client/src/store.js +++ b/client/src/store.js @@ -42,7 +42,7 @@ export const store = { } // Quick user setup using local storage: this.state.user = { - id: localStorage.getItem("myid") || 0, + id: parseInt(localStorage.getItem("myid") || "0", 10), name: localStorage.getItem("myname") || "", //"" for "anonymous" email: "", //unknown yet notify: false, //email notifications -- 2.44.0