fix legacy app client download links

This commit is contained in:
Nuwan 2025-05-29 15:52:31 +05:30
parent b6e2fe7494
commit cd229a0b42
1 changed files with 2 additions and 1 deletions

View File

@ -72,8 +72,9 @@ const JKDownloadsLegacy = () => {
const downloadLink = React.useMemo(() => {
if (!currentOS) return null
if (!selectedPlatform) return null
return downloads[`JamClient/${selectedPlatform}`]
}, [currentOS]);
}, [currentOS, selectedPlatform]);
const selectPlatform = (platform) => {
setSelectedPlatform(platform)