Skip to content

Commit

Permalink
fix: eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
pivanov committed Dec 16, 2024
1 parent 934c50e commit c21ad12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useState, useEffect } from 'preact/hooks';
import { getFPS } from '../../../instrumentation';
import { cn } from '@web-utils/helpers';
import { getFPS } from '../../../instrumentation';

export const FpsMeter = () => {
const [fps, setFps] = useState(getFPS());
Expand Down
2 changes: 1 addition & 1 deletion packages/scan/src/core/web/components/widget/toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ReactScanInternals, setOptions, Store } from '../../../..';
import { INSPECT_TOGGLE_ID } from '../../inspect-element/inspect-state-machine';
import { getNearestFiberFromElement } from '../../inspect-element/utils';
import { Icon } from '../icon';
import { FpsMeter } from './FpsMeter';
import { FpsMeter } from './fps-meter';

interface ToolbarProps {
refPropContainer: preact.RefObject<HTMLDivElement>;
Expand Down
2 changes: 1 addition & 1 deletion packages/scan/src/core/web/utils/outline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export const fadeOutOutline = (

ctx.restore();

const mergedLabels = mergeOverlappingLabels(pendingLabeledOutlines, ctx);
const mergedLabels = mergeOverlappingLabels(pendingLabeledOutlines);

for (let i = 0, len = mergedLabels.length; i < len; i++) {
const { alpha, outline, color, reasons } = mergedLabels[i];
Expand Down

0 comments on commit c21ad12

Please sign in to comment.