Skip to content

Commit

Permalink
Merge pull request #4 from rhurling/patch-1
Browse files Browse the repository at this point in the history
fix typo in livewire event dispatch which clears chart on first livewire update
  • Loading branch information
abbasudo authored Feb 6, 2024
2 parents 0a3ba8d + b05d742 commit 9ca7c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Livewire/PulseUsers.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function render(): Renderable


if (Livewire::isLivewireRequest()) {
$this->dispatch('usage-hours-update', lable: $usage->keys(), data: $usage->values());
$this->dispatch('usage-hours-update', labels: $usage->keys(), data: $usage->values());
}

return View::make('pulse-users::livewire.usage-hours', [
Expand Down

0 comments on commit 9ca7c8d

Please sign in to comment.