mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
chore: Remove unactionable warning polluting CI (#43748)
This commit is contained in:
1 parent
83592b1932
commit
41dd3c3cad
1 file changed
+2
-1
@@ -1,4 +1,5 @@
|
||||
import { AuthClient, navigatorLock, User } from '@supabase/auth-js'
|
||||
import { isBrowser } from './helpers'
|
||||
|
||||
export const STORAGE_KEY = process.env.NEXT_PUBLIC_STORAGE_KEY || 'supabase.dashboard.auth.token'
|
||||
export const AUTH_DEBUG_KEY =
|
||||
@@ -38,7 +39,7 @@ const shouldDetectSessionInUrl = process.env.NEXT_PUBLIC_AUTH_DETECT_SESSION_IN_
|
||||
|
||||
const navigatorLockEnabled = !!(shouldEnableNavigatorLock && globalThis?.navigator?.locks)
|
||||
|
||||
if (shouldEnableNavigatorLock && !globalThis?.navigator?.locks) {
|
||||
if (isBrowser && shouldEnableNavigatorLock && !globalThis?.navigator?.locks) {
|
||||
console.warn('This browser does not support the Navigator Locks API. Please update it.')
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user