Просмотр исходного кода

docs: share page hide patch part

Jay V 6 месяцев назад
Родитель
Сommit
99dfe65862
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      packages/web/src/components/Share.tsx

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

@@ -342,6 +342,7 @@ export default function Share(props: {
                     msg.parts.filter((x, index) => {
                       if (x.type === "step-start" && index > 0) return false
                       if (x.type === "snapshot") return false
+                      if (x.type === "patch") 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