Skip to content

Commit

Permalink
Use chakra components RenderWith
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Oct 14, 2024
1 parent 62b2f45 commit 02c95a3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/Process/Chained.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ import { ConnectButton } from '@rainbow-me/rainbowkit'
import {
ElectionQuestions,
ElectionResults,
MultiElectionsProvider,
SpreadsheetAccess,
MultiElectionQuestionsForm,
MultiElectionsProvider,
RenderWith,
sameLengthValidator,
SpreadsheetAccess,
SubmitFormValidation,
} from '@vocdoni/chakra-components'
import { ElectionProvider, useElection } from '@vocdoni/react-providers'
Expand Down Expand Up @@ -336,7 +337,3 @@ type FlowCondition = {
type FlowNode = {
default: string
} & ({ conditions?: FlowCondition[]; renderWith?: never } | { conditions?: never; renderWith: RenderWith[] })

export type RenderWith = {
id: string
}

1 comment on commit 02c95a3

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.