Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

268 B
Raw Blame
import { type MentionState } from './initialState';

const mentionedUsers = (s: MentionState) => s.mentionedUsers;
const hasMentionedUsers = (s: MentionState) => s.mentionedUsers.length > 0;

export const mentionSelectors = {
  hasMentionedUsers,
  mentionedUsers,
};