MCPcopy Index your code
hub / github.com/apache/answer / resetImgCode

Function resetImgCode

ui/src/hooks/useCaptchaModal/index.tsx:86–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 };
85
86 const resetImgCode = () => {
87 setImgCode({
88 value: '',
89 isInvalid: false,
90 errorMsg: '',
91 });
92 };
93 const resetCallback = () => {
94 refCallback.current = undefined;
95 };

Callers 1

closeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected