Skip to content

Commit

Permalink
remove duplicate hook
Browse files Browse the repository at this point in the history
  • Loading branch information
iamntz authored Jun 21, 2024
1 parent c471927 commit 6bddc9b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Assets/AssetsContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ public function enqueue(
array | callable $inline_js_data = []): static
{
do_action("iamntz/wp-vite-manifest/assets/register", $this, $name);
do_action("iamntz/wp-vite-manifest/assets/register/{$name}", $this, $name);

if (!isset($this->assets[$name]) && defined('WP_DEBUG') && WP_DEBUG) {
throw new \Exception("Invalid asset name: {$name}");
Expand Down

0 comments on commit 6bddc9b

Please sign in to comment.