Fixed event dispatching. Added tests.

This commit is contained in:
asantibanez
2023-07-25 16:19:04 -05:00
parent aa822000af
commit 2d9bcfe480
2 changed files with 20 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ class LivewirePieChart extends Component
return;
}
$this->emit($onSliceClickEventName, $slice);
$this->dispatch($onSliceClickEventName, $slice);
}
public function render()