Skip to content

The open source coding agent.

TypeScript

fix share page edit

Jay V2f5faae34b1e
diff --git a/packages/web/src/components/Share.tsx b/packages/web/src/components/Share.tsx
index 3625c57e9b8..88933b5b29f 100644
--- a/packages/web/src/components/Share.tsx
+++ b/packages/web/src/components/Share.tsx
@@ -1443,7 +1443,7 @@ export default function Share(props: {
/>
</div>
</Match>
- <Match when={false}>
+ <Match when={metadata()?.diff}>
<div data-part-tool-edit>
<DiffView
class={styles["diff-code-block"]}