Skip to content

Commit

Permalink
Fix ScValPrettyJson
Browse files Browse the repository at this point in the history
  • Loading branch information
quietbits committed Jan 24, 2025
1 parent b7ab318 commit a81f509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ScValPrettyJson/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export const ScValPrettyJson = ({
// Entry point
return (
<div className="ScValPrettyJson">
{render({ item: typeof json !== "undefined" ? json : parseJson() })}
{render({ item: json ? json : parseJson() })}
</div>
);
};
Expand Down

0 comments on commit a81f509

Please sign in to comment.