MCPcopy
hub / github.com/AsyncFuncAI/deepwiki-open / handleRepositoryInputChange

Function handleRepositoryInputChange

src/app/page.tsx:108–116  ·  view source on GitHub ↗
(e: React.ChangeEvent<HTMLInputElement>)

Source from the content-addressed store, hash-verified

106 };
107
108 const handleRepositoryInputChange = (e: React.ChangeEvent<HTMLInputElement>) => {
109 const newRepoUrl = e.target.value;
110 setRepositoryInput(newRepoUrl);
111 if (newRepoUrl.trim() === "") {
112 // Optionally reset fields if input is cleared
113 } else {
114 loadConfigFromCache(newRepoUrl);
115 }
116 };
117
118 useEffect(() => {
119 if (repositoryInput) {

Callers

nothing calls this directly

Calls 1

loadConfigFromCacheFunction · 0.85

Tested by

no test coverage detected