diff --git a/src/components/QRShare/index.tsx b/src/components/QRShare/index.tsx index 3f0571a2cde0..fcd838871db3 100644 --- a/src/components/QRShare/index.tsx +++ b/src/components/QRShare/index.tsx @@ -16,7 +16,7 @@ function QRShare({url, title, subtitle, logo, logoRatio, logoMarginRatio}: QRSha const styles = useThemeStyles(); const theme = useTheme(); - const [qrCodeSize, setQrCodeSize] = useState(0); + const [qrCodeSize, setQrCodeSize] = useState(); const svgRef = useRef(); useImperativeHandle(