Skip to content

Commit

Permalink
fix: error value renders incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Oct 10, 2024
1 parent aa69da4 commit 0589c6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const UnmemoizedEndpointContentCodeSnippets: React.FC<EndpointContentCodeSnippet
e.stopPropagation();
}}
hoveredPropertyPath={hoveredResponsePropertyPath}
json={selectedErrorExample?.responseBody ?? EMPTY_OBJECT}
json={selectedErrorExample?.responseBody.value ?? EMPTY_OBJECT}
intent={statusCodeToIntent(selectedError.statusCode)}
/>
)}
Expand Down

0 comments on commit 0589c6a

Please sign in to comment.