diff --git a/apps/site/components/Downloads/DownloadButton/index.tsx b/apps/site/components/Downloads/DownloadButton/index.tsx index 342ff1a2dd1fb..3ae14761a7605 100644 --- a/apps/site/components/Downloads/DownloadButton/index.tsx +++ b/apps/site/components/Downloads/DownloadButton/index.tsx @@ -8,6 +8,7 @@ import Button from '@/components/Common/Button'; import { useDetectOS } from '@/hooks'; import type { NodeRelease } from '@/types'; import { getNodeDownloadUrl } from '@/util/getNodeDownloadUrl'; +import { getUserBitnessByArchitecture } from '@/util/getUserBitnessByArchitecture'; import styles from './index.module.css'; @@ -17,7 +18,12 @@ const DownloadButton: FC> = ({ release: { versionWithPrefix }, children, }) => { - const { os, bitness } = useDetectOS(); + const { + os, + bitness: userBitness, + architecture: userArchitecture, + } = useDetectOS(); + const bitness = getUserBitnessByArchitecture(userArchitecture, userBitness); const downloadLink = getNodeDownloadUrl(versionWithPrefix, os, bitness); return (