This commit is contained in:
Dan Harrin
2023-12-02 22:47:48 +00:00
parent fb2641dc31
commit 86e5cce8a8
2 changed files with 2 additions and 4 deletions
@@ -80,9 +80,7 @@ trait HasState
foreach ($this->afterStateUpdated as $callback) {
$callbackId = spl_object_id($callback);
// TODO: Revert to `store($this)->has('executedAfterStateUpdatedCallbacks', iKey: $callbackId)`
// when https://github.com/livewire/livewire/pull/7327 is merged.
if (store($this)->get('executedAfterStateUpdatedCallbacks')[$callbackId] ?? false) {
if (store($this)->has('executedAfterStateUpdatedCallbacks', iKey: $callbackId)) {
continue;
}
+1 -1
View File
@@ -15,7 +15,7 @@
"illuminate/contracts": "^10.0",
"illuminate/support": "^10.0",
"illuminate/view": "^10.0",
"livewire/livewire": "^3.0.8",
"livewire/livewire": "^3.2.3",
"ryangjchandler/blade-capture-directive": "^0.2|^0.3",
"spatie/color": "^1.5",
"spatie/invade": "^1.0|^2.0",