Skip to content

Commit

Permalink
Fix Broken QRCode
Browse files Browse the repository at this point in the history
  • Loading branch information
MananTank committed Feb 16, 2024
1 parent 43bbab9 commit e6144f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/thirdweb/src/react/ui/components/QRCode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ function QRCodeRenderer({

const dots = useMemo(() => {
const dotsArray: ReactElement[] = [];
const matrix = encode(uri, { ecc: ecl }).data;
const matrix = encode(uri, { ecc: ecl, border: 0 }).data;
const cellSize = size / matrix.length;
const qrList = [
{ x: 0, y: 0 },
Expand Down

0 comments on commit e6144f4

Please sign in to comment.