Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 103a0f9

Browse files
myan9starpit
authored andcommitted
fix(plugins/plugin-client-common): regression: non-empty repl output has 'ok' at the end
Fixes #4924
1 parent 8fee2bc commit 103a0f9

File tree

1 file changed

+1
-2
lines changed
  • plugins/plugin-client-common/src/components/Views/Terminal/Block

1 file changed

+1
-2
lines changed

plugins/plugin-client-common/src/components/Views/Terminal/Block/Output.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ type Props = {
6060
} & BlockViewTraits
6161

6262
interface State {
63-
assertHasContent: boolean
63+
assertHasContent?: boolean
6464
isResultRendered: boolean
6565

6666
streamingOutput: Streamable[]
@@ -79,7 +79,6 @@ export default class Output extends React.PureComponent<Props, State> {
7979
}
8080

8181
this.state = {
82-
assertHasContent: false,
8382
isResultRendered: false,
8483
streamingOutput: [],
8584
streamingConsumer

0 commit comments

Comments
 (0)