Skip to content

Commit

Permalink
Fixing Laravel version error with Livewire (#1210)
Browse files Browse the repository at this point in the history
  • Loading branch information
bulfaitelo authored Aug 25, 2023
1 parent 881239e commit 93baa12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/views/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

{{-- Livewire Styles --}}
@if(config('adminlte.livewire'))
@if(app()->version() >= 7)
@if(intval(app()->version()) >= 7)
@livewireStyles
@else
<livewire:styles />
Expand Down Expand Up @@ -95,7 +95,7 @@

{{-- Livewire Script --}}
@if(config('adminlte.livewire'))
@if(app()->version() >= 7)
@if(intval(app()->version()) >= 7)
@livewireScripts
@else
<livewire:scripts />
Expand Down

0 comments on commit 93baa12

Please sign in to comment.