Skip to content

Commit

Permalink
chore: unused chat props as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
nzambello committed Jan 3, 2025
1 parent 1a70d88 commit 6e90a9f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/Chat/Chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import ChatBubble from '../ChatBubble/ChatBubble';
import MediaWidget, {
Props as MediaWidgetProps,
} from '../MediaWidget/MediaWidget';
import Button from '../ui/Button';
import { Props as MemoriProps } from '../MemoriWidget/MemoriWidget';
import memoriApiClient from '@memori.ai/memori-api-client';
import ChatInputs from '../ChatInputs/ChatInputs';
Expand Down Expand Up @@ -43,7 +42,7 @@ export interface Props {
showAIicon?: boolean;
showTranslationOriginal?: boolean;
showWhyThisAnswer?: boolean;
client: ReturnType<typeof memoriApiClient>;
client?: ReturnType<typeof memoriApiClient>;
preview?: boolean;
microphoneMode?: 'CONTINUOUS' | 'HOLD_TO_TALK';
sendOnEnter?: 'keypress' | 'click';
Expand Down Expand Up @@ -74,7 +73,7 @@ export interface Props {
stopListening: () => void;
resetTranscript: () => void;
customMediaRenderer?: MediaWidgetProps['customMediaRenderer'];
layout: MemoriProps['layout'];
layout?: MemoriProps['layout'];
userAvatar?: MemoriProps['userAvatar'];
user?: User;
experts?: ExpertReference[];
Expand Down

0 comments on commit 6e90a9f

Please sign in to comment.