Skip to content

Commit

Permalink
refactor: add optional chain expression (#811)
Browse files Browse the repository at this point in the history
Co-authored-by: Lukasz Gornicki <[email protected]>
  • Loading branch information
parasss19 and derberg authored Oct 7, 2023
1 parent 828b42a commit eed3f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/containers/Servers/Security.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const SecurityItem: React.FunctionComponent<SecurityItemProps> = ({
</div>
)}

{securitySchema && securitySchema.hasDescription() && (
{securitySchema?.hasDescription() && (
<div>
<Markdown>{securitySchema.description()}</Markdown>
</div>
Expand Down

0 comments on commit eed3f36

Please sign in to comment.