Skip to content

Commit

Permalink
Fix JS error by adding attributes property
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxwellGarceau committed Dec 19, 2024
1 parent 20d281d commit 1bedf6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions includes/blocks/mailchimp/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ registerBlockType(metadata, {
{
type: 'shortcode',
tag: 'mailchimpsf_form',
attributes: {
// No attributes, but attributes property is required
},
},
],
},
Expand Down

0 comments on commit 1bedf6d

Please sign in to comment.