mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
editor: fix pro permission handler always return false
This commit is contained in:
@@ -51,8 +51,6 @@ export function usePermissionHandler(options: PermissionHandlerOptions) {
|
||||
ev.preventDefault();
|
||||
break;
|
||||
}
|
||||
|
||||
ev.preventDefault();
|
||||
}
|
||||
window.addEventListener("permissionrequest", onPermissionRequested);
|
||||
return () => {
|
||||
|
||||
Reference in New Issue
Block a user