Skip to content

Commit c7b3eec

Browse files
committed
widgets: do not render transient messages
1 parent cfce2e4 commit c7b3eec

File tree

1 file changed

+3
-0
lines changed
  • src/packages/frontend/jupyter/output-messages

1 file changed

+3
-0
lines changed

src/packages/frontend/jupyter/output-messages/message.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,9 @@ export const CellOutputMessages: React.FC<CellOutputMessagesProps> = React.memo(
124124
for (const n of numericallyOrderedKeys(obj)) {
125125
const mesg = obj[n];
126126
if (mesg != null) {
127+
if (mesg.get("transient")) {
128+
continue;
129+
}
127130
if (mesg.get("traceback")) {
128131
hasError = true;
129132
traceback += mesg.get("traceback").join("\n") + "\n";

0 commit comments

Comments
 (0)