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

View File

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