Skip to content

Commit bef86d8

Browse files
authored
Merge pull request #297 from FalkorDB/fix-copy
Fix #292 Fix copy
2 parents 76e9791 + 2c5402f commit bef86d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/dataPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function DataPanel({ obj, setObj, url }: Props) {
7474
<button
7575
className="flex items-center gap-2 p-2"
7676
title="Copy src to clipboard"
77-
onClick={() => navigator.clipboard.writeText(obj.src)}
77+
onClick={() => navigator.clipboard.writeText(obj.src || "")}
7878
>
7979
<Copy color="white" />
8080
Copy

0 commit comments

Comments
 (0)