Skip to content

The open source coding agent.

TypeScript

console: fix download route async handling

Dax Raad6f8746ab9474
diff --git a/packages/console/app/src/routes/download/index.tsx b/packages/console/app/src/routes/download/index.tsx
index eb1d38fa530..2616b7ea134 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