Skip to content

Commit

Permalink
add default value for area prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Addison-Stavlo committed May 6, 2021
1 parent 400de22 commit 398fd8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function TemplatePartsByArea( {
setAttributes,
onClose,
composite,
area,
area = 'uncategorized',
} ) {
const templatePartsByArea = useMemo( () => {
return templateParts.filter( ( item ) => item.area === area );
Expand Down

0 comments on commit 398fd8e

Please sign in to comment.