Import Action not working

Hey,
I've been trying to use the import action in my application. However each time I try to upload the csv file for import I keep getting the same error.
TypeError PHP 8.2.4 10.48.2
Filament\Actions\ImportAction::Filament\Actions\Concerns{closure}(): Argument #2 ($state) must be of type ?Livewire\Features\SupportFileUploads\TemporaryUploadedFile, array given, called in path\vendor\filament\support\src\Concerns\EvaluatesClosures .php on line 35

I've published all the neccessary tables as stated in the documentation and I haven't tampered with the vendor folder in any way. The problem doesn't seem to be caused by my csv file as I've tried importing my data to the filament demo where it worked perfectly. Any help would be of great help
Was this page helpful?