💄 style: fix input style

This commit is contained in:
arvinxx
2023-07-22 16:42:26 +08:00
parent 289eae7682
commit 504bd645bb

View File

@@ -46,9 +46,10 @@ const Prompt = () => {
updateAgentConfig({ systemRole: e });
}}
onEditingChange={setEditing}
showEditWhenEmpty
value={systemRole}
/>
{!editing && (
{!editing && !!systemRole && (
<Flexbox direction={'horizontal-reverse'}>
<Button
onClick={() => {