MCPcopy Index your code
hub / github.com/loggerhead/json4u / useEditor

Function useEditor

src/stores/editorStore.ts:213–215  ·  view source on GitHub ↗
(kind: Kind = "main")

Source from the content-addressed store, hash-verified

211}));
212
213export function useEditor(kind: Kind = "main") {
214 return useEditorStore((state) => state[kind]);
215}
216
217export function getEditorState() {
218 return useEditorStore.getState();

Callers 8

JsonPathFunction · 0.90
ParseErrorMsgFunction · 0.90
LeftPanelButtonsFunction · 0.90
useOnFileFunction · 0.90
useOnClickButtonFunction · 0.90
useRevealNodeFunction · 0.90
useEditTreeFunction · 0.90
useDisplayExampleFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected