Extending ListPage doesn't work in v3

Upon upgrading to v3, I found out that the columns in the custom page show the same columns as in the ListPage, although I have the following:
use Filament\Tables\Columns\TextColumn;

...

class InvoiceStats extends ListInvoices
{
    protected static string $resource = InvoiceResource::class;
    protected static string $view = 'filament.resources.invoice-resource.pages.invoice-stats';

    protected function getTableColumns(): array
    {
        return [
            TextColumn::make('invoice_number')
                ->label('Invoice #')
                ->searchable(),
            ...
        ];
    }
Was this page helpful?