Dax Raad 2 месяцев назад
Родитель
Сommit
47c6a2430c
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      packages/console/app/src/routes/download/index.tsx

+ 1 - 0
packages/console/app/src/routes/download/index.tsx

@@ -10,6 +10,7 @@ import { Legal } from "~/component/legal"
 import { config } from "~/config"
 
 const getLatestRelease = query(async () => {
+  "use server"
   const response = await fetch("https://api.github.com/repos/sst/opencode/releases/latest")
   if (!response.ok) return null
   const data = await response.json()