diff --git a/packages/uiweb/src/lib/components/chat/ChatViewBubble/cards/message/FrameRenderer.tsx b/packages/uiweb/src/lib/components/chat/ChatViewBubble/cards/message/FrameRenderer.tsx index 3a95208ab..32bc82491 100644 --- a/packages/uiweb/src/lib/components/chat/ChatViewBubble/cards/message/FrameRenderer.tsx +++ b/packages/uiweb/src/lib/components/chat/ChatViewBubble/cards/message/FrameRenderer.tsx @@ -33,6 +33,7 @@ import { MdError, MdOpenInNew } from 'react-icons/md'; // Interfaces & Types import { IFrame, IFrameButton } from '../../../../../types'; import { IChatTheme } from '../../../exportedTypes'; +import { getAddress, toHex } from 'viem'; interface FrameInputProps extends React.InputHTMLAttributes { theme: IChatTheme; @@ -48,11 +49,13 @@ export const FrameRenderer = ({ account, messageId, frameData, + proxyServer, }: { url: string; account: string; messageId: string; frameData: IFrame; + proxyServer: string; }) => { const { env, user, pgpPrivateKey } = useChatData(); @@ -60,7 +63,6 @@ export const FrameRenderer = ({ const [{ connectedChain }, setChain] = useSetChain(); const frameRenderer = useToast(); - const proxyServer = 'https://proxy.push.org'; const [FrameData, setFrameData] = useState