From 558548e6f758ca7201b19c64a1e4e0eb3e0913e9 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 27 May 2021 22:35:41 +0200 Subject: [PATCH] Fix typo in Unread.union --- state.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, };