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