fix(website): yet another case of server-side rendering failing

This commit is contained in:
Elian Doran
2025-09-28 00:16:51 +03:00
parent 9274522877
commit 7386bb35e5
2 changed files with 5 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ import "./get-started.css";
import packageJson from "../../../../../package.json" with { type: "json" };
export default function DownloadPage() {
const [ currentArch, setCurrentArch ] = useState(getArchitecture());
const [ currentArch, setCurrentArch ] = useState(getArchitecture() ?? "x64");
usePageTitle("Download");
return (