summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/ConsolePatcher.tsx
diff options
context:
space:
mode:
authorJacob Richman <[email protected]>2025-05-23 22:51:47 -0700
committerGitHub <[email protected]>2025-05-23 22:51:47 -0700
commit1c3d9d7623ecff0437db0627cace0cbb421b458a (patch)
treebc76cbbfd12f2e94c263024d8e021530c9bc8881 /packages/cli/src/ui/components/ConsolePatcher.tsx
parent7a3a9066f96440dd1cdbfbc8be576648f7e73fe1 (diff)
Make console message support more robust to logging in the middle of rendering. (#521)
Diffstat (limited to 'packages/cli/src/ui/components/ConsolePatcher.tsx')
-rw-r--r--packages/cli/src/ui/components/ConsolePatcher.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/ConsolePatcher.tsx b/packages/cli/src/ui/components/ConsolePatcher.tsx
index 240a32e5..843c6320 100644
--- a/packages/cli/src/ui/components/ConsolePatcher.tsx
+++ b/packages/cli/src/ui/components/ConsolePatcher.tsx
@@ -40,6 +40,7 @@ export const useConsolePatcher = ({
onNewMessage({
type,
content: formatArgs(args),
+ count: 1,
});
}
};