Skip to content

Commit

Permalink
Use strings as state keys
Browse files Browse the repository at this point in the history
Edge doesn't like array keys.

This is going to change quite a bit when we have state editing.
  • Loading branch information
jimfulton committed Aug 3, 2017
1 parent 9d62bbd commit 736101c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/demo/baseapi.js
Expand Up @@ -12,7 +12,7 @@ const state = (board, order, props) => {
working: false, complete: false, task: false};
Object.assign(s, typeof props == 'string'? {title: props} : props);
s.id = s.id || s.title;
s.key = [board, s.id];
s.key = board + '/' + s.id;
return s;
};

Expand Down

0 comments on commit 736101c

Please sign in to comment.