mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
fix: removed 'trigger' attribute from popover component
This commit is contained in:
parent
2ca183b3e0
commit
340667e926
@ -131,7 +131,7 @@ const PopupContainer: React.FC<Props> = ({ agent, resolve }) => {
|
|||||||
style={{ marginTop: 25 }}
|
style={{ marginTop: 25 }}
|
||||||
onFinish={onFinish}>
|
onFinish={onFinish}>
|
||||||
<Form.Item name="name" label="Emoji">
|
<Form.Item name="name" label="Emoji">
|
||||||
<Popover content={<EmojiPicker onEmojiClick={setEmoji} />} trigger="click" arrow>
|
<Popover content={<EmojiPicker onEmojiClick={setEmoji} />} arrow>
|
||||||
<Button icon={emoji && <span style={{ fontSize: 20 }}>{emoji}</span>}>{t('common.select')}</Button>
|
<Button icon={emoji && <span style={{ fontSize: 20 }}>{emoji}</span>}>{t('common.select')}</Button>
|
||||||
</Popover>
|
</Popover>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user