ソースを参照

console: fix download route async handling

Dax Raad 10 ヶ月 前
親
コミット
6f8746ab94
1 ファイル変更、3 行追加、1 行削除
  1. 3 1
      packages/console/app/src/routes/download/index.tsx

+ 3 - 1
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