fix: Correct index for Windows download button (#4500)
This commit is contained in:
parent
105a1c3078
commit
a6238a22dd
@ -65,7 +65,7 @@ const DropdownDownload = ({ lastRelease }: Props) => {
|
||||
const userAgent = navigator.userAgent
|
||||
if (userAgent.includes('Windows')) {
|
||||
// windows user
|
||||
setDefaultSystem(systems[2])
|
||||
setDefaultSystem(systems[1])
|
||||
} else if (userAgent.includes('Linux')) {
|
||||
// linux user
|
||||
setDefaultSystem(systems[3])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user