diff --git a/client/packages/design/components/Icon/index.tsx b/client/packages/design/components/Icon/index.tsx index 2e6ce2a4..3c60e904 100644 --- a/client/packages/design/components/Icon/index.tsx +++ b/client/packages/design/components/Icon/index.tsx @@ -2,6 +2,7 @@ import React, { useState } from 'react'; import { Icon as Iconify, IconProps } from '@iconify/react'; const placeHolderStyle = { width: '1em', height: '1em' }; + export const Icon: React.FC> = React.memo((props) => { const [loaded, setLoaded] = useState(false); diff --git a/server/plugins/com.msgbyte.github/services/subscribe.service.ts b/server/plugins/com.msgbyte.github/services/subscribe.service.ts index 985cbef3..13e6c751 100644 --- a/server/plugins/com.msgbyte.github/services/subscribe.service.ts +++ b/server/plugins/com.msgbyte.github/services/subscribe.service.ts @@ -58,7 +58,7 @@ class GithubSubscribeService extends TcService { const botUserId = await this.broker.call('user.ensurePluginBot', { botId: 'github-bot', nickname: 'Github Bot', - avatar: 'https://api.iconify.design/entypo-social/github.svg', + avatar: '/images/avatar/github-dark.svg', }); this.logger.info('Github Bot Id:', botUserId);