MCPcopy
hub / github.com/premieroctet/openchakra / getComponents

Function getComponents

src/core/selectors/components.ts:4–5  ·  view source on GitHub ↗
(state: RootState)

Source from the content-addressed store, hash-verified

2import { RootState } from '~core/store'
3
4export const getComponents = (state: RootState) =>
5 state.components.present.components
6
7export const getComponentBy = (nameOrId: string | IComponent['id']) => (
8 state: RootState,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected