diff --git a/src/Livewire/Form.php b/src/Livewire/Form.php index 40a94285..b2eafd4a 100644 --- a/src/Livewire/Form.php +++ b/src/Livewire/Form.php @@ -2,17 +2,17 @@ namespace Aerni\LivewireForms\Livewire; -use Livewire\Component; -use Illuminate\Contracts\View\View; use Aerni\LivewireForms\Facades\ViewManager; -use Aerni\LivewireForms\Livewire\Concerns\WithForm; -use Aerni\LivewireForms\Livewire\Concerns\WithView; -use Aerni\LivewireForms\Livewire\Concerns\WithTheme; +use Aerni\LivewireForms\Livewire\Concerns\SubmitsForm; use Aerni\LivewireForms\Livewire\Concerns\WithFields; +use Aerni\LivewireForms\Livewire\Concerns\WithForm; use Aerni\LivewireForms\Livewire\Concerns\WithHandle; -use Aerni\LivewireForms\Livewire\Concerns\SubmitsForm; use Aerni\LivewireForms\Livewire\Concerns\WithMessages; +use Aerni\LivewireForms\Livewire\Concerns\WithTheme; +use Aerni\LivewireForms\Livewire\Concerns\WithView; use Aerni\LivewireForms\Livewire\Concerns\WithViewManager; +use Illuminate\Contracts\View\View; +use Livewire\Component; class Form extends Component { diff --git a/src/ViewManager.php b/src/ViewManager.php index 1807855f..98c4459b 100644 --- a/src/ViewManager.php +++ b/src/ViewManager.php @@ -15,7 +15,7 @@ public function boot(Component $component): void public function viewPath(string $view): string { - return config('livewire-forms.view_path', 'livewire/forms') . "/{$view}"; + return config('livewire-forms.view_path', 'livewire/forms')."/{$view}"; } public function themeViewPath(string $view): string