Skip to content

Commit

Permalink
Edit Site: Remove theme exporter.
Browse files Browse the repository at this point in the history
  • Loading branch information
epiqueras committed Feb 18, 2020
1 parent acc17a7 commit 8d4cbcb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 1,329 deletions.
17 changes: 0 additions & 17 deletions packages/edit-site/src/components/header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
import { useCallback } from '@wordpress/element';
import { __ } from '@wordpress/i18n';
import { BlockNavigationDropdown, ToolSelector } from '@wordpress/block-editor';
import { DropdownMenu } from '@wordpress/components';

/**
* Internal dependencies
*/
import { useEditorContext } from '../editor';
import TemplateSwitcher from '../template-switcher';
import SaveButton from '../save-button';
import ThemeExporter from '../theme-exporter';

export default function Header() {
const { settings, setSettings } = useEditorContext();
Expand Down Expand Up @@ -65,21 +63,6 @@ export default function Header() {
</div>
<div className="edit-site-header__actions">
<SaveButton />
<DropdownMenu
icon="ellipsis"
label={ __( 'More tools & options' ) }
toggleProps={ {
labelPosition: 'bottom',
} }
className="edit-site-header__actions-more-menu"
>
{ () => (
<ThemeExporter
ids={ settings.templateIds }
templatePartIds={ settings.templatePartIds }
/>
) }
</DropdownMenu>
</div>
</div>
);
Expand Down
Loading

0 comments on commit 8d4cbcb

Please sign in to comment.