bug: proxy banners

This commit is contained in:
2023-01-31 15:53:47 +00:00
parent 0fb387e35c
commit 08acab4831
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,8 @@
import useImgProxy from "Feed/ImgProxy";
import { useEffect, useState } from "react";
export const ProxyImg = ({ src, ...rest }: { src?: string }) => {
export const ProxyImg = (props: any) => {
const { src, ...rest } = props;
const [url, setUrl] = useState<string>();
const { proxy } = useImgProxy();