// File: App\Filament\Pages\Tenancy\EditTenantProfile.php protected function getHeaderActions(): array { return [ Action::make('delete') ->requiresConfirmation() ->action(fn () => $this->tenant->delete()), ]; }