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 3d284fb5a..9b7d46ba7 100644 --- a/packages/taler-wallet-webextension/src/hooks/useClipboardPermissions.ts +++ b/packages/taler-wallet-webextension/src/hooks/useClipboardPermissions.ts @@ -66,7 +66,9 @@ async function handleClipboardPerm( onChange(granted); } else { try { - await wxApi.background.toggleHeaderListener(false).then((r) => onChange(r.newValue)); + await wxApi.background + .toggleHeaderListener(false) + .then((r) => onChange(r.newValue)); } catch (e) { console.log(e); } |