summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'packages/web/src/components')
-rw-r--r--packages/web/src/components/Share.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web/src/components/Share.tsx b/packages/web/src/components/Share.tsx
index 3625c57e9..88933b5b2 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"]}