Skip to content

Commit c7ebf6c

Browse files
committed
build fix
1 parent ae485db commit c7ebf6c

5 files changed

Lines changed: 4 additions & 13 deletions

File tree

content-gen/src/frontend/src/components/BriefReview.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ const briefFields: { key: keyof CreativeBrief; label: string; prefix?: string }[
2424
{ key: 'deliverable', label: 'Deliverables', prefix: '• ' },
2525
];
2626

27-
// Additional fields that appear in the main content area
28-
const contentFields: { key: keyof CreativeBrief; label: string }[] = [
29-
{ key: 'overview', label: '' },
30-
{ key: 'key_message', label: 'Key Message' },
31-
{ key: 'visual_guidelines', label: '' },
32-
{ key: 'cta', label: 'CTA' },
33-
{ key: 'timelines', label: 'Timeline' },
34-
];
35-
3627
export function BriefReview({
3728
brief,
3829
onConfirm,

content-gen/src/frontend/src/components/ChatPanel.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import {
1515
Copy20Regular,
1616
} from '@fluentui/react-icons';
1717
import ReactMarkdown from 'react-markdown';
18-
import remarkGfm from 'remark-gfm';
1918
import type { ChatMessage, CreativeBrief, Product, GeneratedContent } from '../types';
2019
import { BriefReview } from './BriefReview';
2120
import { ConfirmedBriefView } from './ConfirmedBriefView';
@@ -384,7 +383,7 @@ function MessageBubble({ message }: { message: ChatMessage }) {
384383
whiteSpace: 'pre-wrap',
385384
width: '100%',
386385
}}>
387-
<ReactMarkdown remarkPlugins={[remarkGfm]}>
386+
<ReactMarkdown>
388387
{message.content}
389388
</ReactMarkdown>
390389

content-gen/src/frontend/src/components/ProductReview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type ViewMode = 'list' | 'grid';
2323
export function ProductReview({
2424
products,
2525
onConfirm,
26-
onStartOver,
26+
onStartOver: _onStartOver,
2727
isAwaitingResponse = false,
2828
availableProducts = [],
2929
onProductSelect,

content-gen/src/frontend/src/components/TaskHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface TaskHeaderProps {
1111
* Matches the Figma design with gradient background
1212
*/
1313
export function TaskHeader({
14-
title = 'Content Generation',
14+
title: _title = 'Content Generation',
1515
description,
1616
isVisible = true,
1717
}: TaskHeaderProps) {

content-gen/src/frontend/src/types/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export interface Product {
2121
price: number;
2222
sku: string;
2323
image_url?: string;
24+
hex_value?: string; // Color hex code for paint products
2425
// Legacy fields for backward compatibility
2526
category?: string;
2627
sub_category?: string;

0 commit comments

Comments
 (0)