Skip to content

Commit

Permalink
fix configurable trait usage
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhanSalleh committed Jan 12, 2024
1 parent 2126695 commit 9212f3a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/LanguageSwitch.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@
use Closure;
use Exception;
use Filament\Panel;
use Filament\Support\Concerns;
use Filament\Support\Components\Component;
use Filament\Support\Facades\FilamentView;
use Illuminate\Support\Facades\Blade;

class LanguageSwitch
class LanguageSwitch extends Component
{
use Concerns\Configurable;
use Concerns\EvaluatesClosures;

protected ?string $displayLocale = null;

protected array | Closure | null $outsidePanelRoutes = null;
Expand Down

0 comments on commit 9212f3a

Please sign in to comment.