Skip to content

Commit

Permalink
Update src/ui/src/builder/useComponentActions.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandre Rousseau <[email protected]>
  • Loading branch information
ramedina86 and madeindjs authored Sep 30, 2024
1 parent 262c3a9 commit 9e4f638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/src/builder/useComponentActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function useComponentActions(wf: Core, ssbm: BuilderManager) {
type: string,
parentId: Component["id"],
position?: number,
initProperties?: Partial<Component>,
initProperties?: Partial<Omit<Component, 'id' | 'type' | 'parent' | 'content' | 'handlers' | 'position'>>,
) {
const newId = generateNewComponentId();
const definition = wf.getComponentDefinition(type);
Expand Down

0 comments on commit 9e4f638

Please sign in to comment.