diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src/hooks/useClipboardPermissions.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/hooks/useClipboardPermissions.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/hooks/useClipboardPermissions.ts b/packages/taler-wallet-webextension/src/hooks/useClipboardPermissions.ts index c69b116b7..3e9629dcb 100644 --- a/packages/taler-wallet-webextension/src/hooks/useClipboardPermissions.ts +++ b/packages/taler-wallet-webextension/src/hooks/useClipboardPermissions.ts @@ -55,7 +55,9 @@ async function handleClipboardPerm( // as the result of an input event ... let granted: boolean; try { - granted = await platform.getPermissionsApi().requestClipboardPermissions(); + granted = await platform + .getPermissionsApi() + .requestClipboardPermissions(); } catch (lastError) { onChange(false); throw lastError; |