From 0260ec57ea745d067ed5050c61bb0ec803135600 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Tue, 5 Mar 2024 22:32:59 -0800 Subject: [PATCH] Hide teams button if no teams. --- src/components/input/TeamsButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/input/TeamsButton.tsx b/src/components/input/TeamsButton.tsx index dcb01508..e3b5a3a8 100644 --- a/src/components/input/TeamsButton.tsx +++ b/src/components/input/TeamsButton.tsx @@ -23,7 +23,7 @@ export function TeamsButton({ close(); }; - if (!result) { + if (!result?.count) { return null; }