Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-10-08 10:50:37 +01:00
parent df02eb8e92
commit 37b122aa16

View File

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