Skip to content

Commit 0403bf4

Browse files
committed
fix musehub label showing on linux
1 parent 20f085a commit 0403bf4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/button/DownloadMuseHubButton.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ function DownloadMuseHubButton() {
1010
setBrowserOS(platform.os.family);
1111
}, []);
1212

13+
const isLinux = browserOS === "Linux" || browserOS === "Ubuntu" || browserOS === "Debian" || browserOS === "Red Hat" || browserOS === "SuSE";
14+
1315
function handleButtonClick(href) {
1416
if (
1517
href !== "https://www.musehub.com/" &&
@@ -48,7 +50,7 @@ function DownloadMuseHubButton() {
4850
<p>
4951
<span className="font-semibold">
5052
Download Audacity {audacityReleases.version}</span><br/>
51-
<span className="font-light text-s">via MuseHub</span>
53+
{!isLinux && <span className="font-light text-s">via MuseHub</span>}
5254
</p>
5355
</a>
5456
);

0 commit comments

Comments
 (0)