MCPcopy
hub / github.com/codeaashu/claude-code / loadEnvInfo

Function loadEnvInfo

src/components/Feedback.tsx:176–186  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

174 const textInputColumns = useTerminalSize().columns - 4;
175 useEffect(() => {
176 async function loadEnvInfo() {
177 const isGit = await getIsGit();
178 let gitState: GitRepoState | null = null;
179 if (isGit) {
180 gitState = await getGitState();
181 }
182 setEnvInfo({
183 isGit,
184 gitState
185 });
186 }
187 void loadEnvInfo();
188 }, []);
189 const submitReport = useCallback(async () => {

Callers 1

FeedbackFunction · 0.85

Calls 1

getGitStateFunction · 0.85

Tested by

no test coverage detected