Skip to content

Commit

Permalink
fix postdownload page not being triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
LWinterberg committed Oct 29, 2024
1 parent 8c5f3c6 commit aed83c2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/button/PlatformDownloadMuseHubButton.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React from "react";
import useBrowserOS from "../../hooks/useDetectOS";

function PlatformDownloadMuseHubButton(props) {
const { museHubReleaseData } = props;
Expand All @@ -9,13 +10,14 @@ function PlatformDownloadMuseHubButton(props) {
"trackEvent",
"Download Button",
"Download Muse Hub",
`Download Muse Hub button ${OS}`,
`Download Muse Hub button ${useBrowserOS}`,
]);
}

setTimeout(() => {
window.location.href = "/post-download";
}, 2000);

}

return (
Expand Down

0 comments on commit aed83c2

Please sign in to comment.