diff --git a/state.js b/state.js index f6e0d27..24ed4de 100644 --- a/state.js +++ b/state.js @@ -15,9 +15,9 @@ export const Unread = { MESSAGE: "message", HIGHLIGHT: "highlight", - union: (a, b) => { + union(a, b) { const priority = { - [Unread.None]: 0, + [Unread.NONE]: 0, [Unread.MESSAGE]: 1, [Unread.HIGHLIGHT]: 2, };