diff --git a/packages/next/src/views/Account/index.tsx b/packages/next/src/views/Account/index.tsx index 49608f61d..b1d6e49d1 100644 --- a/packages/next/src/views/Account/index.tsx +++ b/packages/next/src/views/Account/index.tsx @@ -138,7 +138,7 @@ export const Account: React.FC = async ({ /> = async ({ Link, locale, }} - Component={config.admin?.components?.views?.Dashboard?.Component} + Component={config.admin?.components?.views?.dashboard?.Component} Fallback={DefaultDashboard} importMap={payload.importMap} serverProps={{ diff --git a/packages/payload/src/config/types.ts b/packages/payload/src/config/types.ts index 190e1e4ca..30ef38aec 100644 --- a/packages/payload/src/config/types.ts +++ b/packages/payload/src/config/types.ts @@ -764,9 +764,9 @@ export type Config = { /** Add custom admin views */ [key: string]: AdminViewConfig /** Replace the account screen */ - Account?: AdminViewConfig + account?: AdminViewConfig /** Replace the admin homepage */ - Dashboard?: AdminViewConfig + dashboard?: AdminViewConfig } } /** Extension point to add your custom data. Available in server and client. */