Skip to content

Commit d44e7ec

Browse files
committed
Remove refresh logic from SubscriptionAction and SubscriptionTableAction classes
1 parent 85b8f15 commit d44e7ec

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/Filament/Actions/SubscriptionAction.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ protected function setUp(): void
3030
);
3131

3232
$this->success();
33-
34-
// Ask any listening components (like the sidebar) to refresh
35-
/** @var \Livewire\Component|null $livewire */
36-
$livewire = $this->getLivewire();
37-
$livewire?->dispatch('commentions:subscription:toggled')->to('commentions::subscription-sidebar');
3833
})
3934
->requiresConfirmation(false);
4035
}

src/Filament/Actions/SubscriptionTableAction.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ protected function setUp(): void
3030
);
3131

3232
$this->success();
33-
34-
// Ask any listening components (like the sidebar) to refresh
35-
/** @var \Livewire\Component|null $livewire */
36-
$livewire = $this->getLivewire();
37-
$livewire?->dispatch('commentions:subscription:toggled')->to('commentions::subscription-sidebar');
3833
})
3934
->requiresConfirmation(false);
4035
}

0 commit comments

Comments
 (0)