Skip to content

Commit

Permalink
Fix not render first election
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Oct 17, 2024
1 parent db2f2de commit 1845248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Process/Chained.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const ChainedProcessesInner = ({ connected }: ChainedProcessesInnerProps) => {

if (isRenderWith) {
return (
<QuestionsFormProvider renderWith={[{ id: current }, ...renderWith]}>
<QuestionsFormProvider renderWith={renderWith}>

Check failure on line 87 in src/components/Process/Chained.tsx

View workflow job for this annotation

GitHub Actions / build-stg

Type '{ children: Element[]; renderWith: RenderWith[]; }' is not assignable to type 'IntrinsicAttributes & QuestionsFormProviderProps & { children?: ReactNode; }'.
<ElectionQuestionsForm />
<VoteButtonContainer>
<VoteButton />
Expand Down

0 comments on commit 1845248

Please sign in to comment.