Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix another rendering error

Gabe Kangasda4bdf6505cf
diff --git a/web/components/common/UserDropdown/UserDropdown.tsx b/web/components/common/UserDropdown/UserDropdown.tsx
index 1ed7a038a3..a769c724f8 100644
--- a/web/components/common/UserDropdown/UserDropdown.tsx
+++ b/web/components/common/UserDropdown/UserDropdown.tsx
@@ -66,6 +66,9 @@ export const UserDropdown: FC<UserDropdownProps> = ({ username: defaultUsername
);
const currentUser = useRecoilValue(currentUserAtom);
+ if (!currentUser) {
+ return null;
+ }
const { displayName } = currentUser;
const username = defaultUsername || displayName;