diff --git a/web/src/ui/tools/LazyImage.tsx b/web/src/ui/tools/LazyImage.tsx deleted file mode 100644 index cd4e7e928..000000000 --- a/web/src/ui/tools/LazyImage.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import "minimal-polyfills/Object.fromEntries"; -import { LazySvg, type LazySvgProps } from "ui/tools/LazySvg"; - -type Props = { - className?: string; - url: string; - svgProps: Omit; - imgProps: { - className?: string; - alt: string; - }; - cx: ( - className1: string | undefined, - className2: string | undefined - ) => string | undefined; -}; - -export function LazyImage(props: Props) { - const { className, url, imgProps, svgProps, cx } = props; - - return url.endsWith(".svg") ? ( - - ) : ( - {imgProps.alt} - ); -}