Skip to content

Commit 7c6149f

Browse files
authored
Add missing quote in dispatchTo rule (#1719)
1 parent 56a98ad commit 7c6149f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Rules/Support/DispatchToRule.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function apply(array $ruleData): array
1414
$event = strval(data_get($ruleData, 'event'));
1515
$params = (array) data_get($ruleData, 'params');
1616

17-
$output['attributes'] = ['wire:click' => "\$dispatchTo('{$to}',{$event}', " . Js::from($params) . ")"];
17+
$output['attributes'] = ['wire:click' => "\$dispatchTo('{$to}','{$event}', " . Js::from($params) . ")"];
1818

1919
return $output;
2020
}

0 commit comments

Comments
 (0)