Removes unecessary dependency from editor style when loading blocks in theme side.

This commit is contained in:
mateuswetah 2023-05-24 10:13:11 -03:00
parent 106fbc54c1
commit d19ae3e7d7
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ function tainacan_blocks_register_block($block_slug, $options = []) {
wp_register_style(
$block_slug,
$TAINACAN_BASE_URL . '/assets/css/tainacan-gutenberg-block-' . $block_slug . '.css',
array('tainacan-blocks-common-editor-styles'),
array(),
$TAINACAN_VERSION
);
$register_params['style'] = $block_slug;