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.

376 B
Raw Blame
import { type State } from '../../initialState';

const editor = (s: State) => s.editor;
const inputMessage = (s: State) => s.inputMessage;
const hasInput = (s: State) => s.inputMessage.trim().length > 0;
const chatInputOverlayHeight = (s: State) => s.chatInputOverlayHeight;

export const inputSelectors = {
  chatInputOverlayHeight,
  editor,
  hasInput,
  inputMessage,
};