Skip to content

Commit

Permalink
Merge pull request #9 from aphoe/main
Browse files Browse the repository at this point in the history
Add Livewire 3 support
  • Loading branch information
tushargugnani authored Oct 10, 2023
2 parents 155a3de + 0ed0d07 commit 0ab2cc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
}
],
"require": {
"php": "^8.0|^8.1|^8.2",
"livewire/livewire": "^2.11",
"php": "^8.1|^8.2",
"livewire/livewire": "^3.0",
"spatie/laravel-package-tools": "^1.0.0"
},
"require-dev": {
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Livewire/AdReportComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function calculateClicksReport(){

$this->clicksPerAd = collect($this->clicksPerAd)->sortByDesc('clicks')->values()->all();

$this->emit('renderChart');
$this->dispatch('renderChart');

}

Expand Down

0 comments on commit 0ab2cc5

Please sign in to comment.