Jay V 1 рік тому
батько
коміт
fcb972de19

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

@@ -586,8 +586,6 @@ export default function Share(props: {
   })
   const [showingSystemPrompt, showSystemPrompt] = createSignal(false)
 
-  console.log(data())
-
   return (
     <main class={`${styles.root} not-content`}>
       <div class={styles.header}>

+ 2 - 0
packages/web/src/pages/s/index.astro

@@ -10,6 +10,8 @@ const id = Astro.url.searchParams.get('id')
 const res = await fetch(`${apiUrl}/share_messages?id=${id}`);
 const data = await res.json();
 
+console.log(data.info)
+
 ---
 
 <StarlightPage