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,
|
draftProjectLabel,
|
||||||
)}
|
)}
|
||||||
</h1>
|
</h1>
|
||||||
{chatSurfaceMode !== 'mini-chat' ? (
|
<DraftPresetChips
|
||||||
<DraftPresetChips
|
onSubmit={(text) => useInputStore.getState().requestPresetSubmit(text)}
|
||||||
onSubmit={(text) => useInputStore.getState().requestPresetSubmit(text)}
|
className="mt-8 max-w-md"
|
||||||
className="mt-8 max-w-md"
|
/>
|
||||||
/>
|
|
||||||
) : null}
|
|
||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user