fix prettier

This commit is contained in:
NicolasMontone
2025-04-02 10:42:52 -03:00
parent 8b31f495ba
commit 5db5fc26c7

View File

@@ -63,7 +63,11 @@ const JsonView = memo(
const handleCopy = useCallback(() => {
try {
navigator.clipboard.writeText(typeof normalizedData === "string" ? normalizedData : JSON.stringify(normalizedData, null, 2));
navigator.clipboard.writeText(
typeof normalizedData === "string"
? normalizedData
: JSON.stringify(normalizedData, null, 2),
);
setCopied(true);
} catch (error) {
toast({