diff --git a/web/app/components/base/app-icon/index.tsx b/web/app/components/base/app-icon/index.tsx index e196577bf7..ef39f77cd1 100644 --- a/web/app/components/base/app-icon/index.tsx +++ b/web/app/components/base/app-icon/index.tsx @@ -2,6 +2,11 @@ import type { FC } from 'react' import classNames from 'classnames' import style from './style.module.css' +import data from '@emoji-mart/data' +import { init } from 'emoji-mart' + +init({ data }) + export type AppIconProps = { size?: 'tiny' | 'small' | 'medium' | 'large' rounded?: boolean @@ -34,7 +39,7 @@ const AppIcon: FC = ({ }} onClick={onClick} > - {innerIcon ? innerIcon : icon && icon !== '' ? : } + {innerIcon ? innerIcon : icon && icon !== '' ? : } ) } diff --git a/web/app/components/share/chat/index.tsx b/web/app/components/share/chat/index.tsx index 0d8e3503ee..f3ce070f38 100644 --- a/web/app/components/share/chat/index.tsx +++ b/web/app/components/share/chat/index.tsx @@ -441,8 +441,8 @@ const Main: FC = () => {
handleConversationIdChange('-1')}