Skip to content

Commit 6491bf7

Browse files
committed
debugging musehub download
1 parent f9f9e86 commit 6491bf7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/button/PlatformDownloadMuseHubButton.jsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ import useBrowserOS from "../../hooks/useDetectOS";
33

44
function PlatformDownloadMuseHubButton(props) {
55
const { museHubReleaseData } = props;
6-
6+
const browserOS = useBrowserOS();
7+
console.log("browserOS", browserOS);
8+
79
function onClickButtonHandler() {
810
if (typeof _paq !== "undefined") {
911
_paq.push([
1012
"trackEvent",
1113
"Download Button",
1214
"Download Muse Hub",
13-
`Download Muse Hub button ${useBrowserOS}`,
15+
`Download Muse Hub button ${browserOS}`,
1416
]);
1517
}
1618

0 commit comments

Comments
 (0)