fixed the issue on auto refresh for widgets
This commit is contained in:
parent
71114974ab
commit
42014c458c
|
|
@ -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 [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue