Not able to replace dashboard

Attempting to replace the standard dashboard with my own, and it's not working. I've followed the documentation (https://filamentphp.com/docs/3.x/panels/dashboard#customizing-the-dashboard-page).

<?php

namespace App\Filament\Pages;

use Illuminate\Contracts\View\View;
use Filament\Pages\Dashboard as FilamentDashboard;

class Dashboard extends FilamentDashboard
{
    protected static ?string $navigationIcon = 'heroicon-o-document-text';

    public function render(): View
    {
        return view('filament.pages.dashboard');
    }
}


and on my AppPanelProvider, I replaced the pages reference with my own dashboard:

 ->pages([
                Dashboard::class,
            ])


And in my view:

<x-filament-panels::page>
    <h1>testing</h1>
</x-filament-panels::page>


It doesn't show "testing" anwhere when I reload the page. There's no error or anything either, it's just not seeing it.
Was this page helpful?