fix: re-sort member sidebar on channel change

closes #593
pull/1049/head
Paul Makles 2022-05-09 22:00:17 +01:00
parent 65acc4e1de
commit 3596d0c469
1 changed files with 1 additions and 1 deletions

View File

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