feat: update ui components with improved design and functionality
This commit is contained in:
parent
ab1c597e1c
commit
c7cbecad68
@ -9,7 +9,7 @@
|
||||
--color-white-soft: rgba(255, 255, 255, 0.8);
|
||||
--color-white-mute: rgba(255, 255, 255, 0.94);
|
||||
|
||||
--color-black: #181818;
|
||||
--color-black: #151515;
|
||||
--color-black-soft: #202020;
|
||||
--color-black-mute: #262626;
|
||||
|
||||
|
||||
@ -94,6 +94,7 @@ const AgentsPage: FC = () => {
|
||||
style={{ width: '30%', height: 28 }}
|
||||
size="small"
|
||||
variant="filled"
|
||||
allowClear
|
||||
suffix={<SearchOutlined />}
|
||||
value={search}
|
||||
maxLength={50}
|
||||
|
||||
@ -43,7 +43,7 @@ const EmojiHeader = styled.div`
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-right: 5px;
|
||||
font-size: 20px;
|
||||
font-size: 24px;
|
||||
line-height: 20px;
|
||||
`
|
||||
|
||||
|
||||
@ -97,7 +97,7 @@ const MessageItem: FC<Props> = ({
|
||||
|
||||
useEffect(() => {
|
||||
if (topic && onGetMessages && onSetMessages) {
|
||||
if (message.status === 'sending') {
|
||||
if (message.status === 'sending' && index === 0) {
|
||||
const messages = onGetMessages()
|
||||
fetchChatCompletion({
|
||||
message,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user