Skip to content

Commit 5db5fc2

Browse files
fix prettier
1 parent 8b31f49 commit 5db5fc2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

client/src/components/JsonView.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ const JsonView = memo(
6363

6464
const handleCopy = useCallback(() => {
6565
try {
66-
navigator.clipboard.writeText(typeof normalizedData === "string" ? normalizedData : JSON.stringify(normalizedData, null, 2));
66+
navigator.clipboard.writeText(
67+
typeof normalizedData === "string"
68+
? normalizedData
69+
: JSON.stringify(normalizedData, null, 2),
70+
);
6771
setCopied(true);
6872
} catch (error) {
6973
toast({

0 commit comments

Comments
 (0)