Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

feat: await clipboard image

AykutSarac4ca08317d606
diff --git a/src/features/modals/DownloadModal/index.tsx b/src/features/modals/DownloadModal/index.tsx
index cf671772..00f67f7d 100644
--- a/src/features/modals/DownloadModal/index.tsx
+++ b/src/features/modals/DownloadModal/index.tsx
@@ -83,7 +83,7 @@ export const DownloadModal = ({ opened, onClose }: ModalProps) => {
if (!blob) return;
- navigator.clipboard?.write([
+ await navigator.clipboard?.write([
new ClipboardItem({
[blob.type]: blob,
}),