We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e44acd3 + 6e76bc6 commit 3190bb7Copy full SHA for 3190bb7
public/localstorage-sync.html
@@ -31,7 +31,7 @@
31
if (localStorage.getItem(message.data.key) !== message.data.value) {
32
let accounts = {};
33
let tokens = [];
34
- const data = message.data.value;
+ const data = JSON.parse(message.data.value);
35
Object.keys(data).map(loginid => {
36
const token = data[loginid]['token'] ?? '';
37
accounts[loginid] = token;
0 commit comments