| @@ -506,9 +506,9 @@ | ||
| 506 | 506 | |
| 507 | 507 | wp_enqueue_script( |
| 508 | 508 | 'wcpos-template-editor', |
| 509 | 509 | PLUGIN_URL . $dir . '/js/template-editor.js', |
| 510 | - array( 'react', 'react-dom', 'wp-api-fetch' ), | |
| 510 | + array( 'react', 'react-dom', 'wp-api-fetch', \WCPOS\WooCommercePOS\Admin::API_FETCH_METHOD_PARAM_HANDLE ), | |
| 511 | 511 | PLUGIN_VERSION, |
| 512 | 512 | true |
| 513 | 513 | ); |
| 514 | 514 | |