()
| 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 () => { |
no test coverage detected