migration wip
This commit is contained in:
@@ -6,6 +6,7 @@ import { getSiteInfo, t, getLocaleFromPath, getLocalizedPath } from '@/lib/i18n'
|
||||
import { processHTML } from '@/lib/html-compat';
|
||||
import { SEO } from '@/components/SEO';
|
||||
import { LocaleSwitcher } from '@/components/LocaleSwitcher';
|
||||
import { ContentRenderer } from '@/components/content/ContentRenderer';
|
||||
|
||||
interface PageProps {
|
||||
params: {
|
||||
@@ -187,9 +188,9 @@ export default async function ProductDetailPage({ params }: PageProps) {
|
||||
<h3 className="text-sm font-medium text-gray-900 mb-3">
|
||||
{t('products.description', locale as 'en' | 'de')}
|
||||
</h3>
|
||||
<div
|
||||
<ContentRenderer
|
||||
content={product.descriptionHtml || ''}
|
||||
className="prose prose-sm max-w-none text-gray-600"
|
||||
dangerouslySetInnerHTML={{ __html: processedDescription }}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user