<?php

declare(strict_types=1);

namespace App\Filament\Resources\Pages;

use Filament\Resources\Pages\ListRecords as FilamentListRecords;
use Filament\Tables\Table;

/**
 * Admin list pages: never open view/edit by clicking the row.
 */
class ListRecords extends FilamentListRecords
{
    protected function makeTable(): Table
    {
        return parent::makeTable()
            ->recordUrl(null)
            ->recordAction(null);
    }
}
