MultiTenancy EditProfile

Hi, I'm working on making my application multi-tenant, but I'm facing an issue when adding the EditTeamProfile page,

I get the following error:
Route [filament.admin.tenant.profile] not defined.


The registration page works just fine.

Any one knows why?

In my PanelProvider:
`
            ->tenant(model: Team::class, ownershipRelationship: 'team', slugAttribute: 'slug')
            ->tenantRegistration(RegisterTeam::class)
            ->tenantProfile(EditTeamProfile::class)


The EditTeamProfile class itself:
`
<?php

namespace App\Filament\Pages\Tenancy;

use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Pages\Tenancy\EditTenantProfile;
use Illuminate\Database\Eloquent\Model;

class EditTeamProfile extends EditTenantProfile
{
    public static function getLabel(): string
    {
        return 'Team profile';
    }

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('name'),
                TextInput::make('slug')
            ]);
    }
}
Was this page helpful?