summaryrefslogtreecommitdiff
path: root/extension/react-app/src/redux/selectors/chatSelectors.ts
blob: 51e8a636b37b89a3628d6092349d564841a72be1 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { RootStore } from "../store";

const selectChatMessages = (state: RootStore) => {
  return state.chat.messages;
};

const selectIsStreaming = (state: RootStore) => {
  return state.chat.isStreaming;
};

export { selectChatMessages, selectIsStreaming };