|
@@ -253,7 +253,7 @@ function register_offcanvas_menu_block() {
|
|
|
// Register editor assets
|
|
|
wp_register_script(
|
|
|
'offcanvas-menu-editor',
|
|
|
- get_stylesheet_directory_uri() . '/blocks/offcanvas-menu/build/index.js',
|
|
|
+ get_stylesheet_directory_uri() . '/js/offcanvas-menu-editor.js',
|
|
|
array('wp-blocks', 'wp-element'),
|
|
|
'1.0.0'
|
|
|
);
|