Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix: app loading issue

Pranav Cdbed91376f7e
diff --git a/packages/nc-gui/utils/browserUtils.ts b/packages/nc-gui/utils/browserUtils.ts
index 95c2c2fa89..c0d4e1283a 100644
--- a/packages/nc-gui/utils/browserUtils.ts
+++ b/packages/nc-gui/utils/browserUtils.ts
@@ -202,4 +202,4 @@ export const removeQueryParamsFromURL = (keysToRemove: string[]) => {
}
// Feature detection.
-export const supportsKeyboardLock = 'keyboard' in navigator && 'lock' in (navigator.keyboard as any)
+export const supportsKeyboardLock = 'keyboard' in navigator && navigator.keyboard && 'lock' in (navigator.keyboard as any)