Skip to content

Commit

Permalink
fix(docs): fix for display param item description
Browse files Browse the repository at this point in the history
  • Loading branch information
TrofimovAnton85 committed Oct 22, 2024
1 parent 0fb5f67 commit ee52c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ParserOpenRPC/DetailsBox/RenderParams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const renderSchema = (schemaItem, schemas, name) => {
type={schemaItem.schema.enum ? "enum" : schemaItem.schema.type}
required={!!schemaItem.required}
description={
schemaItem.schema.description || schemaItem.schema.title || ""
schemaItem.description || schemaItem.schema.description || schemaItem.schema.title || ""
}
/>
{schemaItem.schema.enum && renderEnum(schemaItem.schema.enum)}
Expand Down

0 comments on commit ee52c7b

Please sign in to comment.