Skip to content

Commit

Permalink
Fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Apr 25, 2023
1 parent de17901 commit 96c5353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-site/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export default function Layout() {
ease: 'easeOut',
} }
>
{ canvasMode === 'edit' && <Header /> }
<Header />
</NavigableRegion>
) }
</AnimatePresence>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export default function TemplateDetails( { template, onClose } ) {
<Button
className="edit-site-template-details__show-all-button"
{ ...browseAllLinkProps }
onClick={ () => onClose() }
>
{ template?.type === 'wp_template'
? __( 'Manage all templates' )
Expand Down

0 comments on commit 96c5353

Please sign in to comment.