Skip to content

Commit 4ca0831

Browse files
committed
feat: await clipboard image
1 parent 2b31f66 commit 4ca0831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/modals/DownloadModal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const DownloadModal = ({ opened, onClose }: ModalProps) => {
8383

8484
if (!blob) return;
8585

86-
navigator.clipboard?.write([
86+
await navigator.clipboard?.write([
8787
new ClipboardItem({
8888
[blob.type]: blob,
8989
}),

0 commit comments

Comments
 (0)