Skip to content

Commit

Permalink
chore: improve code quality
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Kropyvnytskyi <[email protected]>
  • Loading branch information
AlexVarchuk and ivankropyvnytskyi authored Jan 22, 2025
1 parent 93d6b6c commit f6debde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/MenuBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export class MenuBuilder {

const items: ContentItemModel[] = [];
const tags = [...(spec.tags || [])];
const hasAutogenerated = [...(spec.tags || [])].find(
const hasAutogenerated = tags.find(
tag => tag?.name === schemaDefinitionsTagName,
);

Expand Down

0 comments on commit f6debde

Please sign in to comment.