mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
1 parent
46051bce17
commit
cf1264f614
1 file changed
+1
@@ -219,6 +219,7 @@ export const detectBrowser = () => {
|
||||
}
|
||||
|
||||
export const detectOS = () => {
|
||||
if (typeof window === 'undefined' || !window) return undefined
|
||||
if (typeof navigator === 'undefined' || !navigator) return undefined
|
||||
|
||||
const userAgent = window.navigator.userAgent.toLowerCase()
|
||||
|
||||
Reference in new issue
Block a user