Skip to content

Commit

Permalink
fix(lint): fix yarn lint breakage from #11498
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka committed Oct 7, 2024
1 parent 7bdb7bb commit ed05566
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ interface Props {

export function getFieldDescriptionDetails({ schemaFieldEntity, editableFieldInfo, defaultDescription }: Props) {
const documentations = schemaFieldEntity?.documentation?.documentations;
let latestDocumentation: typeof documentations[0] | undefined;
let latestDocumentation: (typeof documentations)[0] | undefined;

if (documentations && documentations.length > 0) {
latestDocumentation = documentations.reduce((latest, current) => {
Expand Down

0 comments on commit ed05566

Please sign in to comment.