Browse Source

share page hide step-finish events

Dax Raad 9 months ago
parent
commit
5c3d490e59
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/web/src/components/Share.tsx

+ 1 - 0
packages/web/src/components/Share.tsx

@@ -321,6 +321,7 @@ export default function Share(props: {
                   const filteredParts = createMemo(() =>
                     msg.parts.filter((x, index) => {
                       if (x.type === "step-start" && index > 0) return false
+                      if (x.type === "step-finish") return false
                       if (x.type === "text" && x.synthetic === true) return false
                       if (x.type === "tool" && x.tool === "todoread") return false
                       if (x.type === "text" && !x.text) return false