diff --git a/client/package.json b/client/package.json index b2b294f..5fa12a9 100644 --- a/client/package.json +++ b/client/package.json @@ -4,7 +4,7 @@ "private": true, "dependencies": { "@chat-e2ee/service": "file:../service", - "qrcode.react": "^3.1.0", + "qrcode.react": "^4.0.1", "react": "^16.13.1", "react-bootstrap": "^1.5.2", "react-dom": "^16.13.1", diff --git a/client/src/components/LinkDisplay/index.tsx b/client/src/components/LinkDisplay/index.tsx index 33fee4d..6cd89bc 100644 --- a/client/src/components/LinkDisplay/index.tsx +++ b/client/src/components/LinkDisplay/index.tsx @@ -3,7 +3,7 @@ import { FiLink, FiCopy, FiExternalLink, FiArrowDown, FiArrowUp } from "react-ic import styles from "./Style.module.css"; import { ThemeContext } from "../../ThemeContext"; import { LinkObjType } from "@chat-e2ee/service"; -import QRCode from "qrcode.react"; +import { QRCodeSVG } from "qrcode.react"; const LinkDisplay: React.FC<{ content: LinkObjType }> = ({ content }) => { const chatLink = @@ -80,7 +80,7 @@ const LinkDisplay: React.FC<{ content: LinkObjType }> = ({ content }) => { {showQR && (