diff --git a/ui/component/logo/view.jsx b/ui/component/logo/view.jsx index 597723350..ca8745712 100644 --- a/ui/component/logo/view.jsx +++ b/ui/component/logo/view.jsx @@ -4,6 +4,7 @@ import * as ICONS from 'constants/icons'; import { LOGO_TITLE, LOGO, LOGO_TEXT_LIGHT, LOGO_TEXT_DARK } from 'config'; import Icon from 'component/common/icon'; import { useIsMobile } from 'effects/use-screensize'; +import OptimizedImage from 'component/optimizedImage'; type Props = { type: string, @@ -21,12 +22,12 @@ export default function Logo(props: Props) { ); if (type === 'small' || (isMobile && type !== 'embed')) { - return LOGO ? : ; + return LOGO ? : ; } else if (type === 'embed') { if (LOGO_TEXT_LIGHT) { return ( <> - + ); } else { @@ -36,7 +37,7 @@ export default function Logo(props: Props) { if (LOGO_TEXT_LIGHT && LOGO_TEXT_DARK) { return ( <> - + ); } else {