Refactor DownloadPage component to fix conditional class assignment
This commit is contained in:
@@ -502,7 +502,7 @@ export default function DownloadPage() {
|
|||||||
selectedLinuxDownloadType === "flatpak"
|
selectedLinuxDownloadType === "flatpak"
|
||||||
? "border-blue-400"
|
? "border-blue-400"
|
||||||
: "",
|
: "",
|
||||||
selectedArchitecture === "generic"
|
selectedArchitecture === "specific"
|
||||||
? "opacity-50 cursor-not-allowed"
|
? "opacity-50 cursor-not-allowed"
|
||||||
: ""
|
: ""
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user