feat: show draft preset chips in mini-chat too
Mini-chat uses the same centered-welcome compact layout, so the preset chips fit fine under the welcome message there as well. Drop the mini-chat exclusion.
This commit is contained in:
@@ -822,12 +822,10 @@ export const ChatContainer: React.FC<ChatContainerProps> = ({ autoOpenDraft = tr
|
||||
draftProjectLabel,
|
||||
)}
|
||||
</h1>
|
||||
{chatSurfaceMode !== 'mini-chat' ? (
|
||||
<DraftPresetChips
|
||||
onSubmit={(text) => useInputStore.getState().requestPresetSubmit(text)}
|
||||
className="mt-8 max-w-md"
|
||||
/>
|
||||
) : null}
|
||||
<DraftPresetChips
|
||||
onSubmit={(text) => useInputStore.getState().requestPresetSubmit(text)}
|
||||
className="mt-8 max-w-md"
|
||||
/>
|
||||
</div>
|
||||
) : null}
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user