import { useEditor, usePresence, useValue } from '@tldraw/editor'
/** @public @react */
export function DefaultFollowingIndicator() {
const editor = useEditor()
const followingUserId = useValue('follow', () => editor.getInstanceState().followingUserId, [
editor,
])
if (!followingUserId) return null
return