Skip to content

Commit ff366d7

Browse files
refactor: move block-templates to style guide component
1 parent 2936f85 commit ff366d7

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/util/block-templates.js renamed to src/lazy-components/style-guide/block-templates.js

File renamed without changes.

src/lazy-components/style-guide/components.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
i18n, srcUrl, homeUrl,
1414
} from 'stackable'
1515
import { isDarkColor } from '~stackable/util'
16-
import { LONG_TEXT } from '~stackable/util/block-templates'
16+
import { LONG_TEXT } from './block-templates'
1717

1818
import { __, sprintf } from '@wordpress/i18n'
1919
import {

src/lazy-components/style-guide/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
createUniqueClass,
1111
blockStyleGenerators,
1212
} from '~stackable/util'
13-
import { PLACEHOLDER_INNER_BLOCKS } from '~stackable/util/block-templates'
13+
import { PLACEHOLDER_INNER_BLOCKS } from './block-templates'
1414

1515
import { __, sprintf } from '@wordpress/i18n'
1616
import { RawHTML } from '@wordpress/element'

0 commit comments

Comments
 (0)