Skip to content

Commit 53b8ada

Browse files
committed
fix: build type issue
1 parent 3b79bb8 commit 53b8ada

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/blocks/Form/buildInitialFormState.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ type ExtendedFormFieldBlock =
1010
required?: boolean
1111
width?: number
1212
}
13+
| {
14+
blockName?: string
15+
blockType: 'captcha'
16+
name: string
17+
required?: boolean
18+
width?: number
19+
provider: string
20+
apiKey: string
21+
}
1322

1423
export const buildInitialFormState = (fields: ExtendedFormFieldBlock[]) => {
1524
return fields?.reduce((initialSchema, field) => {

0 commit comments

Comments
 (0)