Skip to content

Commit

Permalink
💄 style: fix Inbox defaultMessage avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Aug 12, 2023
1 parent eb3eb5d commit dbc18a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/chat/features/Conversation/ChatList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { memo, useCallback, useMemo } from 'react';
import { useTranslation } from 'react-i18next';
import { Flexbox } from 'react-layout-kit';

import { DEFAULT_INBOX_AVATAR } from '@/const/meta';
import { INBOX_SESSION_ID } from '@/const/session';
import {
agentSelectors,
Expand Down Expand Up @@ -87,7 +88,9 @@ const List = () => {
createAt: Date.now(),
extra: {},
id: 'default',
meta: {},
meta: {
avatar: DEFAULT_INBOX_AVATAR,
},
role: 'assistant',
updateAt: Date.now(),
} as ChatMessage;
Expand Down

0 comments on commit dbc18a4

Please sign in to comment.