fix: tickets not disappearing for users that are not members of queue after queue assignment

This commit is contained in:
canove
2021-01-14 12:20:41 -03:00
parent 2cc7b4e508
commit f7f0b01eb3
6 changed files with 41 additions and 38 deletions

View File

@@ -13,7 +13,6 @@ export function useLocalStorage(key, initialValue) {
});
const setValue = value => {
console.log("SETTING VALUE", value);
try {
const valueToStore =
value instanceof Function ? value(storedValue) : value;