cms.c2sgmbh/src/app/(payload)/admin/views/community/inbox/page.tsx
Martin Porwoll 22592bf759 fix(Community): convert custom views to client components
- Fix Server Components render error by using 'use client' directive
- Remove DefaultTemplate which requires server-side props
- Add Community Analytics Dashboard view with charts
- Add Analytics API endpoints (overview, sentiment, response metrics, etc.)
- Add implementation report for design AI

The custom views now work correctly within Payload's RootLayout context.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 11:05:39 +00:00

17 lines
330 B
TypeScript

'use client'
import React from 'react'
import { Gutter } from '@payloadcms/ui'
import { CommunityInbox } from './CommunityInbox'
import './inbox.scss'
export default function CommunityInboxPage() {
return (
<div className="community-inbox-page">
<Gutter>
<CommunityInbox />
</Gutter>
</div>
)
}