Skip to content

Commit

Permalink
Update OsWebAndriodIosButton.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
David44357 committed Sep 6, 2024
1 parent 6aa7b21 commit e94c1ee
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/common/Buttons/OsWebAndriodIosButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ const OsWebAndriodIosButton = (props) => {
useEffect(() => {
const platform = window.navigator.userAgent.toLowerCase();
//WHEN YOUR READY CHANGE
if (platform.includes('thisshouldbeandroid')) {
setUserOS('https://play.google.com/store/apps/details?id=com.KingLaw.kinglawfinal'); // CHANGE HERE FOR ANDROID
setOS('android')
} else {
// if (platform.includes('thisshouldbeandroid')) {
// setUserOS('https://play.google.com/store/apps/details?id=com.KingLaw.kinglawfinal'); // CHANGE HERE FOR ANDROID
// setOS('android')
//} else {
setUserOS('https://compass.kinglawnc.com'); // CHANGE HERE FOR OTHER
setOS('other')
}
// }
}, []);
const btnOnClickGetStarted = () => {
sendGAEvent({ event: 'get_started_home_page_btn_click', value: 'get_started_home_page_btn_click' })
Expand Down

0 comments on commit e94c1ee

Please sign in to comment.