diff --git a/frontend/src/components/Information/RemoteIconInformation/index.tsx b/frontend/src/components/Information/RemoteIconInformation/index.tsx index df8f68250..453be9a66 100644 --- a/frontend/src/components/Information/RemoteIconInformation/index.tsx +++ b/frontend/src/components/Information/RemoteIconInformation/index.tsx @@ -1,7 +1,7 @@ import Image from 'next/image'; import SVG from 'react-inlinesvg'; -import { optimizeAndDefineColor } from 'stylesheet'; +import { optimizeSVG } from 'stylesheet'; import { Information } from '../BaseInformation'; export interface Props { @@ -16,7 +16,7 @@ export interface Props { export const RemoteIconInformation: React.FC = ({ iconUri, ...props }) => { let icon = null; if (RegExp(/(.*).svg/).test(iconUri)) { - icon = ; + icon = ; } else if (typeof iconUri === 'string' && iconUri.length) { icon = (