MCPcopy Index your code
hub / github.com/027xiguapi/code-box / resetState

Function resetState

component/ui/customDomSelector.tsx:153–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 }
152
153 const resetState = () => {
154 removeHighlight()
155 setIsSelect(false)
156 setIsReady(false)
157 }
158
159 const navigateElement = (direction: "parent" | "child" | "prev" | "next") => {
160 const selector = document.querySelector(".codebox-current")

Callers 2

handleOkModalFunction · 0.85
handleCancelFunction · 0.85

Calls 1

removeHighlightFunction · 0.85

Tested by

no test coverage detected