Skip to content

Commit

Permalink
Replace \n with :param obj: as a creterion for trimming property …
Browse files Browse the repository at this point in the history
…definitions
  • Loading branch information
louis-md committed Jan 30, 2025
1 parent 17a6c8e commit 15cda96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ApiReference/Property.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const Property: React.FC<{ property: any; required?: boolean }> = ({
}
}}
>
{property.value?.description?.split('\n')?.[0] ?? ''}
{property.value?.description?.split(':param obj:')?.[0] ?? ''}
</Typography>
</Grid>
</Grid>
Expand Down

0 comments on commit 15cda96

Please sign in to comment.