Skip to content

Commit 56e298d

Browse files
committed
refactor: copilot suggestion
1 parent cb1cb31 commit 56e298d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/state/hooks/useTerminal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function useTerminal(): void {
1616
process.stdout.write("\x1b[2J\x1b[3J\x1b[H")
1717
// Increment the message reset counter to force re-render of Static component
1818
incrementResetCounter((prev) => prev + 1)
19-
}, [])
19+
}, [incrementResetCounter])
2020

2121
// Clear terminal when reset counter changes
2222
useEffect(() => {

0 commit comments

Comments
 (0)