Skip to content

Commit

Permalink
try to fix error in test with enqueue assets
Browse files Browse the repository at this point in the history
  • Loading branch information
douglas-johnson committed Aug 16, 2023
1 parent aa6b594 commit 2f556b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function coauthors_blocks_provide_author_archive_context( array $context, array
* Enqueue Store
*/
function coauthors_blocks_enqueue_store() : void {
$asset = require_once dirname( __FILE__ ) . '/store/build/index.asset.php';
$asset = require dirname( __FILE__ ) . '/store/build/index.asset.php';

wp_enqueue_script(
'coauthors-blocks-store',
Expand Down

0 comments on commit 2f556b0

Please sign in to comment.