Skip to content

Commit 3f0180c

Browse files
committed
Move createInnerBlockList into editor/utils
1 parent 4025b7a commit 3f0180c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

editor/components/block-list/block.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import BlockInsertionPoint from './insertion-point';
4646
import IgnoreNestedEvents from './ignore-nested-events';
4747
import InserterWithShortcuts from '../inserter-with-shortcuts';
4848
import Inserter from '../inserter';
49-
import { createInnerBlockList } from './utils';
49+
import { createInnerBlockList } from '../../utils/block-list';
5050
import {
5151
editPost,
5252
insertBlocks,

editor/components/block-preview/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { createBlock, BlockEdit } from '@wordpress/blocks';
1212
/**
1313
* Internal dependencies
1414
*/
15-
import { createInnerBlockList } from '../block-list/utils';
15+
import { createInnerBlockList } from '../../utils/block-list';
1616
import './style.scss';
1717

1818
/**

editor/components/block-list/utils.js editor/utils/block-list.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Component } from '@wordpress/element';
66
/**
77
* Internal dependencies
88
*/
9-
import BlockList from './';
9+
import BlockList from '../components/block-list';
1010

1111
/**
1212
* An object of cached BlockList components

0 commit comments

Comments
 (0)