INNER CODE UNIT · TypeScript
selectShowEditor
data-infra/cube-studio · myapp/vision/src/models/editor/index.ts:38
export const selectShowEditor = (state: RootState): EditorState['showEditor'] => state.editor.showEditor;
export const selectKey = (state: RootState): EditorState['key'] => state.editor.key;
export const selectValue = (state: RootState): EditorState['value'] => state.editor.value;
export const selectType = (state: RootState): EditorState['type'] => state.editor.type;
export default EditorSlice.reducer;