Hide teams button if no teams.

This commit is contained in:
Mike Cao 2024-03-05 22:32:59 -08:00
parent eb5923a82d
commit 0260ec57ea
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ export function TeamsButton({
close();
};
if (!result) {
if (!result?.count) {
return null;
}