Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojsnunes committed Jan 9, 2025
1 parent 758b146 commit cee0ed1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/common/Breadcrumbs/Breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ type Step = { text: string; link?: string }

interface BreadcrumbsProps {
steps?: Step[]
content?: IResearch.ItemDB | Question | ILibrary
content?: IResearch.ItemDB | Question | ILibrary.Item
variant?: 'research' | 'question' | 'howto'
}

const generateSteps = (
content: IResearch.ItemDB | Question | ILibrary | undefined,
content: IResearch.ItemDB | Question | ILibrary.Item | undefined,
variant: 'research' | 'question' | 'howto' | undefined,
) => {
const steps: Step[] = []
Expand Down
1 change: 1 addition & 0 deletions src/test/factories/Question.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const FactoryQuestionItem = (
},
images: [],
subscriberCount: faker.number.int(),
commentCount: faker.number.int(),
totalViews: faker.number.int(),
usefulCount: faker.number.int(),
...questionOverloads,
Expand Down

0 comments on commit cee0ed1

Please sign in to comment.