Skip to content

Commit

Permalink
Make state reactive
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 committed May 4, 2024
1 parent 8c2ca4a commit 523e193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/States/Concerns/WithState.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
namespace Foxws\WireUse\States\Concerns;

use Foxws\WireUse\Support\Livewire\StateObjects\State;
use Livewire\Attributes\Locked;
use Livewire\Attributes\Reactive;

trait WithState
{
#[Locked]
#[Reactive]
public State $state;
}

0 comments on commit 523e193

Please sign in to comment.