Skip to content

Commit 793ba5b

Browse files
committed
build and test fix
1 parent 3835a7e commit 793ba5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/LiveComponent/assets/dist/live_controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@ class LiveControllerDefault extends Controller {
27532753
let nameMatch = null;
27542754
directive.modifiers.forEach((modifier) => {
27552755
switch (modifier.name) {
2756-
case 'component':
2756+
case 'name':
27572757
nameMatch = modifier.value;
27582758
break;
27592759
default:

src/LiveComponent/tests/Fixtures/Component/ComponentWithEmit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ final class ComponentWithEmit
3030
public function actionThatEmits(): void
3131
{
3232
$this->emit('event1', ['foo' => 'bar']);
33-
$this->events = $this->liveResponderForEmit->getEventsToEmit();
33+
$this->events = $this->liveResponder->getEventsToEmit();
3434
}
3535
}

0 commit comments

Comments
 (0)