Skip to content

Commit 0792103

Browse files
committed
fix: terminal gives react warning from getDerivedStateFromProps()
1 parent 49d5c3a commit 0792103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: plugins/plugin-codeflare/src/controller/terminal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class TaskTerminal extends React.PureComponent<Props, State> {
169169
}
170170
}
171171

172-
return
172+
return state
173173
}
174174

175175
public static getDerivedStateFromError() {

0 commit comments

Comments
 (0)