fix: re-sort member sidebar on channel change

closes #593
This commit is contained in:
Paul Makles 2022-05-09 22:00:17 +01:00
parent e9cba5b4e2
commit 81e9774cc0

View file

@ -160,7 +160,7 @@ function useEntries(
useEffect(() => {
return autorun(() => sort(generateKeys()));
// eslint-disable-next-line
}, []);
}, [channel]);
return entries;
}