OverviewFilesCommitsIssuesDocsReleasesPeers

keet-deobfuscated / @holepunchto / keet-store / store / chat / input / chat-input.selector.js

6 lines · javascript ref:
import { CHAT_STATE_KEY as t } from "../chat.constant"
import { CHAT_INPUT_STATE_KEY as e } from "./chat-input.constant"
export const getChatInputState = (n) => n[t][e]
export const getChatInputIsProcessing = (t) => getChatInputState(t).isProcessing
export const getChatInputIsClearRequested = (t) => getChatInputState(t).isClearRequested