fixed the issue on auto refresh for widgets
This commit is contained in:
@@ -5,6 +5,11 @@ use Livewire\Volt\Component;
|
|||||||
|
|
||||||
new class extends Component
|
new class extends Component
|
||||||
{
|
{
|
||||||
|
public function refresh(): void
|
||||||
|
{
|
||||||
|
// Explicit refresh method for wire:poll compatibility
|
||||||
|
}
|
||||||
|
|
||||||
public function with(): array
|
public function with(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
|||||||
@@ -5,6 +5,11 @@ use Livewire\Volt\Component;
|
|||||||
|
|
||||||
new class extends Component
|
new class extends Component
|
||||||
{
|
{
|
||||||
|
public function refresh(): void
|
||||||
|
{
|
||||||
|
// Explicit refresh method for wire:poll compatibility
|
||||||
|
}
|
||||||
|
|
||||||
public function with(): array
|
public function with(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
|||||||
@@ -5,6 +5,11 @@ use Livewire\Volt\Component;
|
|||||||
|
|
||||||
new class extends Component
|
new class extends Component
|
||||||
{
|
{
|
||||||
|
public function refresh(): void
|
||||||
|
{
|
||||||
|
// Explicit refresh method for wire:poll compatibility
|
||||||
|
}
|
||||||
|
|
||||||
public function with(): array
|
public function with(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
|
|||||||
Reference in New Issue
Block a user