We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb1cb31 commit 56e298dCopy full SHA for 56e298d
cli/src/state/hooks/useTerminal.ts
@@ -16,7 +16,7 @@ export function useTerminal(): void {
16
process.stdout.write("\x1b[2J\x1b[3J\x1b[H")
17
// Increment the message reset counter to force re-render of Static component
18
incrementResetCounter((prev) => prev + 1)
19
- }, [])
+ }, [incrementResetCounter])
20
21
// Clear terminal when reset counter changes
22
useEffect(() => {
0 commit comments