dont pop up keyboard shortcuts
This commit is contained in:
parent
8d2d80fcc1
commit
ff6a64656f
@ -48,7 +48,8 @@ export const GhostwriterDrawer: React.FC<GhostwriterDrawerProps> = ({
|
||||
<SheetTitle>Ghostwriter</SheetTitle>
|
||||
<SheetDescription>
|
||||
The Ghostwriter will use the context of this job and your resume,
|
||||
along with your writing style to help you craft the perfect message.
|
||||
along with your writing style to help you craft the perfect
|
||||
message.
|
||||
</SheetDescription>
|
||||
</SheetHeader>
|
||||
</div>
|
||||
|
||||
@ -14,8 +14,8 @@ export const MessageList: React.FC<MessageListProps> = ({
|
||||
streamingMessageId,
|
||||
}) => {
|
||||
return (
|
||||
<div className='space-y-3'>
|
||||
{messages.length > 0 && (
|
||||
<div className="space-y-3">
|
||||
{messages.length > 0 &&
|
||||
messages.map((message) => {
|
||||
const isUser = message.role === "user";
|
||||
const isActiveStreaming =
|
||||
@ -32,7 +32,7 @@ export const MessageList: React.FC<MessageListProps> = ({
|
||||
: "border-border/60 bg-background"
|
||||
}`}
|
||||
>
|
||||
<div className='mb-1 text-[10px] uppercase tracking-wide text-muted-foreground'>
|
||||
<div className="mb-1 text-[10px] uppercase tracking-wide text-muted-foreground">
|
||||
{isUser
|
||||
? "You"
|
||||
: `Ghostwriter${message.version > 1 ? ` v${message.version}` : ""}`}
|
||||
@ -40,15 +40,14 @@ export const MessageList: React.FC<MessageListProps> = ({
|
||||
{isActiveStreaming ? (
|
||||
<StreamingMessage content={message.content} />
|
||||
) : (
|
||||
<div className='whitespace-pre-wrap text-sm leading-relaxed text-foreground'>
|
||||
<div className="whitespace-pre-wrap text-sm leading-relaxed text-foreground">
|
||||
{message.content ||
|
||||
(message.role === "assistant" ? "..." : "")}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
})
|
||||
)}
|
||||
})}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user