import { useEditor, usePresence, useValue } from '@bigbluebutton/editor' export function FollowingIndicator() { const editor = useEditor() const followingUserId = useValue('follow', () => editor.getInstanceState().followingUserId, [ editor, ]) if (!followingUserId) return null return } function FollowingIndicatorInner({ userId }: { userId: string }) { const presence = usePresence(userId) if (!presence) return null return
}