Live video on the AT Protocol

chat: log in to submit mod actions

+1 -5
+1 -5
js/components/src/components/chat/mod-view.tsx
··· 97 97 98 98 // Early return AFTER all hooks have been called 99 99 if (!agent?.did) { 100 - return ( 101 - <View style={[layout.flex.row, layout.flex.alignCenter, gap.all[2]]}> 102 - <Text>Log in to submit mod actions</Text> 103 - </View> 104 - ); 100 + return <></>; 105 101 } 106 102 107 103 // Can show moderation actions if user can hide, ban, or manage livestream