Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
chore: remove unused code (#5341)
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-deriv authored Nov 2, 2023
1 parent 485e7cb commit 51a4cb6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/common/os-detect.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
export const isMobile = () =>
/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)

export const mobileOSDetect = () => {
const userAgent = navigator.userAgent || navigator.vendor || window.opera

Check warning on line 2 in src/common/os-detect.ts

View workflow job for this annotation

GitHub Actions / lint

'vendor' is deprecated.

Expand Down

1 comment on commit 51a4cb6

@vercel
Copy link

@vercel vercel bot commented on 51a4cb6 Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-com – ./

deriv-com.binary.sx
deriv-com-git-master.binary.sx

Please sign in to comment.