Skip to content

Commit

Permalink
Merge pull request #7 from Web3Auth/develop
Browse files Browse the repository at this point in the history
Fix brave console error
  • Loading branch information
shahbaz17 authored Dec 5, 2023
2 parents 2e30eb6 + 3d3aff3 commit 0fcef27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export const getBrowserName = () => {
const { userAgent } = navigator
try {
// @ts-ignore works only on brave browser
if (navigator.brave.isBrave()) return 'Brave'
if (navigator.brave?.isBrave()) return 'Brave'
} catch (error) {
console.error(error)
}
Expand Down

0 comments on commit 0fcef27

Please sign in to comment.