MCPcopy Create free account
hub / github.com/027xiguapi/code-box / handleReset

Function handleReset

options/index.tsx:42–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 const appRef = useRef<any>()
41
42 function handleReset() {
43 if (confirm("确认重置配置?")) {
44 csdnRef.current && csdnRef.current.handleReset()
45 zhihuRef.current && zhihuRef.current.handleReset()
46 baiduRef.current && baiduRef.current.handleReset()
47 jianshuRef.current && jianshuRef.current.handleReset()
48 jb51Ref.current && jb51Ref.current.handleReset()
49 cnblogsRef.current && cnblogsRef.current.handleReset()
50 cto51Ref.current && cto51Ref.current.handleReset()
51 phpRef.current && phpRef.current.handleReset()
52 appRef.current && appRef.current.handleReset()
53 }
54 }
55
56 return (
57 <ThemeProvider>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected