MCPcopy
hub / github.com/loggerhead/json4u / getEditorState

Function getEditorState

src/stores/editorStore.ts:217–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215}
216
217export function getEditorState() {
218 return useEditorStore.getState();
219}
220
221export function t(key: string, values?: TranslationValues): string {
222 const fn = getEditorState().translations;

Callers 4

getAnotherEditorMethod · 0.90
setTreeMethod · 0.90
listenOnKeyDownMethod · 0.90
tFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected