Skip to content

Commit

Permalink
fix: size
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkasany committed Apr 15, 2024
1 parent 54a0566 commit d2ad168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/qr-code/index.tsx
Expand Up @@ -55,7 +55,7 @@ const QRCode: React.FC<QRCodeProps> = (props) => {
level: errorLevel,
bgColor,
fgColor: color,
style: { width: style?.width, height: style?.height },
style: { width: style?.width ?? size, height: style?.height ?? size },
imageSettings: icon ? imageSettings : undefined,
};

Expand Down

0 comments on commit d2ad168

Please sign in to comment.