fixed the centering of the gate cards

This commit is contained in:
csawatzky 2025-06-11 13:47:02 -06:00
parent fbc8703ae4
commit d5f3cb727c
2 changed files with 5 additions and 9 deletions

View file

@ -115,17 +115,13 @@ export default function Gate(props: Props) {
};
useEffect(() => {
console.log(gateID)
let key = gateID;
let kind = "gate";
if (as) {
key = as;
kind = "team";
}
console.log(key)
console.log(kind)
userAPI.getUser(user.id(), { key: key, kind: kind } as Scope).then(resp => {
console.log(resp)
setPermissions(resp.permissions);
});
}, [as, gateID, userAPI, user]);