diff options
| author | Dax Raad <[email protected]> | 2025-12-11 12:20:11 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-12-11 12:20:11 -0500 |
| commit | 95526fb9edaa02df7e6c8c86c7ed793152ef3d9d (patch) | |
| tree | 63116320f99af73719a42675c7b767c6e8a7fe54 | |
| parent | a5cc19068b290cf5b517a73092a4befc57e774d6 (diff) | |
| download | opencode-95526fb9edaa02df7e6c8c86c7ed793152ef3d9d.tar.gz opencode-95526fb9edaa02df7e6c8c86c7ed793152ef3d9d.zip | |
fix share image
| -rw-r--r-- | packages/enterprise/src/routes/share/[shareID].tsx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/packages/enterprise/src/routes/share/[shareID].tsx b/packages/enterprise/src/routes/share/[shareID].tsx index fee66b478..ec675a38d 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()) |
