Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brendan-defi committed Dec 5, 2024
1 parent 64b1d41 commit de54752
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/internal/components/QrCode/QrCode.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { QRCodeSVG, type QRCodeSVGProps } from './QrCodeSvg';
import {
QR_CODE_SIZE,
QR_LOGO_SIZE,
QR_LOGO_RADIUS,
QR_LOGO_BACKGROUND_COLOR,
QR_LOGO_RADIUS,
QR_LOGO_SIZE,
} from './gradientConstants';

export function QRCodeComponent({
Expand Down
3 changes: 1 addition & 2 deletions src/internal/components/QrCode/QrCodeSvg.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useMemo } from 'react';
import { useOnchainKit } from '../../../useOnchainKit';
import {
GRADIENT_END_COORDINATES,
GRADIENT_START_COORDINATES,
Expand All @@ -7,12 +8,10 @@ import {
ockThemeToRadiamGradientColorMap,
presetGradients,
} from './gradientConstants';

import { useCorners } from './useCorners';
import { useDotsPath } from './useDotsPath';
import { useLogo } from './useLogo';
import { useMatrix } from './useMatrix';
import { useOnchainKit } from '../../../useOnchainKit';

function coordinateAsPercentage(coordinate: number) {
return `${coordinate * 100}%`;
Expand Down
2 changes: 1 addition & 1 deletion src/internal/components/QrCode/useLogo.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useMemo } from 'react';
import { cbwSvg } from '../../svg/cbwSvg';
import ReactDOMServer from 'react-dom/server';
import { cbwSvg } from '../../svg/cbwSvg';

type RenderLogoProps = {
size: number;
Expand Down

0 comments on commit de54752

Please sign in to comment.