We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b31f49 commit 5db5fc2Copy full SHA for 5db5fc2
client/src/components/JsonView.tsx
@@ -63,7 +63,11 @@ const JsonView = memo(
63
64
const handleCopy = useCallback(() => {
65
try {
66
- navigator.clipboard.writeText(typeof normalizedData === "string" ? normalizedData : JSON.stringify(normalizedData, null, 2));
+ navigator.clipboard.writeText(
67
+ typeof normalizedData === "string"
68
+ ? normalizedData
69
+ : JSON.stringify(normalizedData, null, 2),
70
+ );
71
setCopied(true);
72
} catch (error) {
73
toast({
0 commit comments