chore: Remove unactionable warning polluting CI (#43748)

This commit is contained in:
Jeremias Menichelli authored and GitHub committed 2026-03-13 14:29:09 +00:00
1 parent 83592b1932
commit 41dd3c3cad
1 file changed
+2 -1
+2 -1
View File
@@ -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.')
}