Remove unneeded AuthorizesRequests

This commit is contained in:
Marcus Moore 2024-07-11 13:32:16 -07:00
parent 9e06f2d17f
commit 9793016603
No known key found for this signature in database

View file

@ -3,18 +3,12 @@
namespace App\Livewire; namespace App\Livewire;
use App\Models\CustomField; use App\Models\CustomField;
use Livewire\Component;
use App\Models\Import; use App\Models\Import;
use Illuminate\Support\Facades\Storage; use Illuminate\Support\Facades\Storage;
use Livewire\Component;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Importer extends Component class Importer extends Component
{ {
use AuthorizesRequests;
public $files; public $files;
public $progress; //upload progress - '-1' means don't show public $progress; //upload progress - '-1' means don't show
@ -75,8 +69,6 @@ class Importer extends Component
} }
private function getColumns($type) private function getColumns($type)
{ {
switch ($type) { switch ($type) {
@ -161,7 +153,6 @@ class Importer extends Component
} }
} }
public function mount() public function mount()
{ {
$this->authorize('import'); $this->authorize('import');