Skip to content

Commit

Permalink
chore: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Jun 4, 2024
1 parent 40a6fbe commit f2b21c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lib/utils/navigatorUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ declare global {
}

export function isMac() {
return navigator?.platform?.toUpperCase().includes('MAC') ??
return (
navigator?.platform?.toUpperCase().includes('MAC') ??
navigator?.userAgentData?.platform?.toUpperCase().includes('MAC') ??
false
)
}

0 comments on commit f2b21c1

Please sign in to comment.