Skip to content

Commit

Permalink
Import InspectorControls from blockEditor instead of the editor package.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradyvercher committed Feb 27, 2021
1 parent 59713d6 commit 00e4697
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blocks/code/edit.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import classnames from 'classnames';
import { components, data, editor, element, i18n } from 'wp';
import { blockEditor, components, data, element, i18n } from 'wp';
import CodeEditor from './code-editor';
import { languageChoices } from './settings';

const { InspectorControls } = blockEditor;
const { PanelBody, SelectControl, TextControl, ToggleControl } = components;
const { select, withSelect } = data;
const { InspectorControls } = editor;
const { withSelect } = data;
const { Component, Fragment } = element;
const { __ } = i18n;

Expand Down

0 comments on commit 00e4697

Please sign in to comment.