Skip to content

Commit

Permalink
Fix a typo and device detection for now
Browse files Browse the repository at this point in the history
getOperatingSystem should be done in some other way as this is kind of fragile
  • Loading branch information
benjamsf committed Jan 23, 2024
1 parent cda0999 commit e9e1264
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/hook/helpers/getOperatingSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ export function getOperatingSystem() {
os = "MacOS";
} else if (/Win/i.test(platform)) {
os = "Windows";
} else if (/Linux/i.test(platform)) {
os = "Linux";
} else if (/Android/i.test(userAgent)) {
os = "Android";
} else if (/iPhone|iPad|iPod/i.test(userAgent)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function TakQuickstartWin2() {
<strong>Puolustusvoimien osoittamasta paikasta</strong>.
<br />
<br />
<strong>Lataa</strong> strong painamalla kuvaketta alta:
<strong>Lataa</strong> painamalla kuvaketta alta:
</>
}
image2Src={windownload}
Expand Down

0 comments on commit e9e1264

Please sign in to comment.