Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
clean up
  • Loading branch information
Sen Wang authored and Sen Wang committed Aug 28, 2023
commit 21167ff74f18467a5ebcb3c33ca22031ff766a11
3 changes: 3 additions & 0 deletions apps/yjs/src/yjs-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export async function setupRuntimeSocket({
type: `${type}_${content.name}`,
text: content.text,
});
resultMap.set(podId, oldresult);
}
break;
case "execute_result":
Expand All @@ -88,6 +89,7 @@ export async function setupRuntimeSocket({
text: content.data["text/plain"],
html: content.data["text/html"],
});
resultMap.set(podId, oldresult);
}
break;
case "display_data":
Expand All @@ -100,6 +102,7 @@ export async function setupRuntimeSocket({
image: content.data["image/png"],
html: content.data["text/html"],
});
resultMap.set(podId, oldresult);
}
break;
case "execute_reply":
Expand Down