Skip to content

Commit

Permalink
Remove rebase leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
ockham committed Jun 4, 2020
1 parent f6554cc commit 4b05b62
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/edit-site/src/components/template-switcher/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import { __ } from '@wordpress/i18n';
import { addQueryArgs } from '@wordpress/url';
import { resolveSelect, useDispatch, useSelect } from '@wordpress/data';
import { resolveSelect, useSelect } from '@wordpress/data';
import { useEffect, useState } from '@wordpress/element';
import {
Tooltip,
Expand Down Expand Up @@ -148,8 +148,6 @@ export default function TemplateSwitcher( {
slug: templatePart.slug,
} ) );

const { saveEntityRecord } = useDispatch( 'core' );

const overwriteSlug =
TEMPLATE_OVERRIDES[ page.type ] &&
page.slug &&
Expand Down

0 comments on commit 4b05b62

Please sign in to comment.