The open source coding agent.
TypeScript
fix share image
Dax Raad95526fb9edaa
diff --git a/packages/enterprise/src/routes/share/[shareID].tsx b/packages/enterprise/src/routes/share/[shareID].tsxindex fee66b478ac..ec675a38d33 100644--- a/packages/enterprise/src/routes/share/[shareID].tsx+++ b/packages/enterprise/src/routes/share/[shareID].tsx@@ -138,10 +138,15 @@ const getData = query(async (shareID) => {export default function () {const params = useParams()- const data = createAsync(async () => {- if (!params.shareID) throw new Error("Missing shareID")- return getData(params.shareID)- })+ const data = createAsync(+ async () => {+ if (!params.shareID) throw new Error("Missing shareID")+ return getData(params.shareID)+ },+ {+ deferStream: true,+ },+ )createEffect(() => {console.log(data())