Skip to content

Commit 8a673fe

Browse files
committed
fix: prop drill useTranslation hook
1 parent 8fd2291 commit 8a673fe

File tree

1 file changed

+3
-0
lines changed
  • frontend/src/features/admin-form/create/workflow/components/WorkflowContent/InactiveStepBlock

1 file changed

+3
-0
lines changed

frontend/src/features/admin-form/create/workflow/components/WorkflowContent/InactiveStepBlock/InactiveStepBlock.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ interface InactiveStepBlockProps {
3333
interface RespondentBadgeProps {
3434
step: FormWorkflowStepDto
3535
idToFieldMap: Dictionary<FormFieldWithQuestionNo<FormField>>
36+
t: (key: string) => string
3637
}
3738

3839
const SubsequentStepRespondentBadges = ({
3940
step,
4041
idToFieldMap,
42+
t,
4143
}: RespondentBadgeProps): JSX.Element => {
4244
switch (step.workflow_type) {
4345
case WorkflowType.Static:
@@ -202,6 +204,7 @@ export const InactiveStepBlock = ({
202204
<SubsequentStepRespondentBadges
203205
step={step}
204206
idToFieldMap={idToFieldMap}
207+
t={t}
205208
/>
206209
</Flex>
207210
)}

0 commit comments

Comments
 (0)