diff options
| author | Dax Raad <[email protected]> | 2025-12-11 16:55:23 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-12-11 16:55:23 -0500 |
| commit | 6f8746ab9474921840c6123847fc65c84ffeb557 (patch) | |
| tree | f92cab78ee77059fb34d71591459574e5792005a | |
| parent | 9d4ed5b04a437a50db8acde885740765978961e4 (diff) | |
| download | opencode-6f8746ab9474921840c6123847fc65c84ffeb557.tar.gz opencode-6f8746ab9474921840c6123847fc65c84ffeb557.zip | |
console: fix download route async handling
| -rw-r--r-- | packages/console/app/src/routes/download/index.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/console/app/src/routes/download/index.tsx b/packages/console/app/src/routes/download/index.tsx index eb1d38fa5..2616b7ea1 100644 --- a/packages/console/app/src/routes/download/index.tsx +++ b/packages/console/app/src/routes/download/index.tsx @@ -26,7 +26,9 @@ function CopyStatus() { } export default function Download() { - const release = createAsync(() => getLatestRelease()) + const release = createAsync(() => getLatestRelease(), { + deferStream: true, + }) const download = () => { const version = release() if (!version) return null |
