Skip to content

Commit

Permalink
Rename action to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
carolinan committed Jan 20, 2023
1 parent b1b98e7 commit 287e584
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function SidebarNavigationScreenTemplates( {
path={ config[ postType ].path }
parentTitle={ __( 'Design' ) }
title={ config[ postType ].labels.title }
action={
actions={
! isMobileViewport && (
<AddNewTemplate
templateType={ postType }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function SidebarNavigationScreen( {
path,
parentTitle,
title,
action,
actions,
content,
} ) {
return (
Expand Down Expand Up @@ -44,7 +44,7 @@ export default function SidebarNavigationScreen( {
<h2 className="edit-site-sidebar-navigation-screen__title">
{ title }
</h2>
{ action }
{ actions }
</HStack>

<nav className="edit-site-sidebar-navigation-screen__content">
Expand Down

0 comments on commit 287e584

Please sign in to comment.