Skip to content

Commit de54752

Browse files
committed
linter fixes
1 parent 64b1d41 commit de54752

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/internal/components/QrCode/QrCode.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { QRCodeSVG, type QRCodeSVGProps } from './QrCodeSvg';
22
import {
33
QR_CODE_SIZE,
4-
QR_LOGO_SIZE,
5-
QR_LOGO_RADIUS,
64
QR_LOGO_BACKGROUND_COLOR,
5+
QR_LOGO_RADIUS,
6+
QR_LOGO_SIZE,
77
} from './gradientConstants';
88

99
export function QRCodeComponent({

src/internal/components/QrCode/QrCodeSvg.tsx

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { useMemo } from 'react';
2+
import { useOnchainKit } from '../../../useOnchainKit';
23
import {
34
GRADIENT_END_COORDINATES,
45
GRADIENT_START_COORDINATES,
@@ -7,12 +8,10 @@ import {
78
ockThemeToRadiamGradientColorMap,
89
presetGradients,
910
} from './gradientConstants';
10-
1111
import { useCorners } from './useCorners';
1212
import { useDotsPath } from './useDotsPath';
1313
import { useLogo } from './useLogo';
1414
import { useMatrix } from './useMatrix';
15-
import { useOnchainKit } from '../../../useOnchainKit';
1615

1716
function coordinateAsPercentage(coordinate: number) {
1817
return `${coordinate * 100}%`;

src/internal/components/QrCode/useLogo.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useMemo } from 'react';
2-
import { cbwSvg } from '../../svg/cbwSvg';
32
import ReactDOMServer from 'react-dom/server';
3+
import { cbwSvg } from '../../svg/cbwSvg';
44

55
type RenderLogoProps = {
66
size: number;

0 commit comments

Comments
 (0)