Skip to content

Commit

Permalink
Fix missing MainDashboardButton slot fill in site editor(#36369)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 authored and noisysocks committed Nov 11, 2021
1 parent 4a8e459 commit b6bbdab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/edit-site/src/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import RedoButton from './undo-redo/redo';
import DocumentActions from './document-actions';
import TemplateDetails from '../template-details';
import { store as editSiteStore } from '../../store';
import MainDashboardButton from '../main-dashboard-button';

const preventDefault = ( event ) => {
event.preventDefault();
Expand Down Expand Up @@ -106,7 +107,9 @@ export default function Header( {
return (
<div className="edit-site-header">
<div className="edit-site-header_start">
<NavigationLink />
<MainDashboardButton.Slot>
<NavigationLink />
</MainDashboardButton.Slot>

<div className="edit-site-header__toolbar">
<Button
Expand Down

0 comments on commit b6bbdab

Please sign in to comment.