From 9779defb3f32932ee5f18c518c5fd47ca67e62de Mon Sep 17 00:00:00 2001 From: jyrkidn Date: Tue, 19 Sep 2023 12:33:14 +0000 Subject: [PATCH] Fix styling --- src/Filament/RedirectResource/Pages/ManageRedirects.php | 1 - src/Imports/RedirectsImport.php | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Filament/RedirectResource/Pages/ManageRedirects.php b/src/Filament/RedirectResource/Pages/ManageRedirects.php index c3837c3..5857899 100644 --- a/src/Filament/RedirectResource/Pages/ManageRedirects.php +++ b/src/Filament/RedirectResource/Pages/ManageRedirects.php @@ -6,7 +6,6 @@ use Codedor\FilamentRedirects\Imports\RedirectsImport; use Filament\Actions; use Filament\Actions\Action; -use Filament\Forms\Components\Checkbox; use Filament\Forms\Components\FileUpload; use Filament\Notifications\Notification; use Filament\Resources\Pages\ManageRecords; diff --git a/src/Imports/RedirectsImport.php b/src/Imports/RedirectsImport.php index 7714ca6..cc124a9 100644 --- a/src/Imports/RedirectsImport.php +++ b/src/Imports/RedirectsImport.php @@ -5,14 +5,11 @@ use Codedor\FilamentRedirects\Models\Redirect; use Illuminate\Support\Collection; use Illuminate\Support\Str; -use Maatwebsite\Excel\Concerns\SkipsUnknownSheets; use Maatwebsite\Excel\Concerns\ToCollection; use Maatwebsite\Excel\Concerns\WithBatchInserts; use Maatwebsite\Excel\Concerns\WithHeadingRow; -use Maatwebsite\Excel\Concerns\WithMultipleSheets; -use Maatwebsite\Excel\Imports\HeadingRowFormatter; -class RedirectsImport implements ToCollection, WithHeadingRow, WithBatchInserts +class RedirectsImport implements ToCollection, WithBatchInserts, WithHeadingRow { private int $defaultStatus;