mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
fix(website): yet another case of server-side rendering failing
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user