Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2019-10-08 10:50:37 +01:00
parent df02eb8e92
commit 37b122aa16
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ const useIsSynapseAdmin = (cli) => {
}, () => {
setIsAdmin(false);
});
}, []);
}, [cli]);
return isAdmin;
};