We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d306760 commit 894e8a9Copy full SHA for 894e8a9
src/Components/LanguageSwitch.php
@@ -5,11 +5,9 @@
5
use Illuminate\View\Component;
6
use Mcamara\LaravelLocalization\Facades\LaravelLocalization;
7
8
-use function Statikbe\FilamentFlexibleContentBlockPages\View\Components\count;
9
-
10
class LanguageSwitch extends Component
11
{
12
- public function __construct(public string $title){}
+ public function __construct(public string $title) {}
13
14
public function render()
15
@@ -18,6 +16,6 @@ public function render()
18
16
19
17
public function shouldRender(): bool
20
21
- return !empty(LaravelLocalization::getSupportedLocales());
+ return ! empty(LaravelLocalization::getSupportedLocales());
22
}
23
0 commit comments