Skip to content

Commit

Permalink
fix fallback value
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux committed Dec 3, 2024
1 parent b9fb6f3 commit bb1f366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fields/src/actions/duplicate-template-part.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const duplicateTemplatePart: Action< TemplatePart > = {
onCreate={ onTemplatePartSuccess }
onError={ closeModal }
confirmLabel={ _x( 'Duplicate', 'action label' ) }
closeModal={ closeModal ?? ( () => void 0 ) }
closeModal={ closeModal ?? ( () => {} ) }
/>
);
},
Expand Down

0 comments on commit bb1f366

Please sign in to comment.