ソースを参照

fix share page edit

Jay V 1 年間 前
コミット
2f5faae34b
1 ファイル変更1 行追加1 行削除
  1. 1 1
      packages/web/src/components/Share.tsx

+ 1 - 1
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"]}