mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-09-18 01:19:24 +00:00
remove unused imports and variables
This commit is contained in:
parent
4597d040f3
commit
5ceac64553
@ -1,7 +1,7 @@
|
||||
import React, { useState, useRef, useEffect, useMemo, useCallback } from 'react';
|
||||
import { createPortal } from 'react-dom';
|
||||
import LocalIcon from './LocalIcon';
|
||||
import { addEventListenerWithCleanup, isClickOutside } from '../../utils/genericUtils';
|
||||
import { addEventListenerWithCleanup } from '../../utils/genericUtils';
|
||||
import { useTooltipPosition } from '../../hooks/useTooltipPosition';
|
||||
import { TooltipTip } from '../../types/tips';
|
||||
import { TooltipContent } from './tooltip/TooltipContent';
|
||||
|
@ -1,13 +1,6 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { parseSelection } from './parseSelection';
|
||||
|
||||
// Helper to stringify result for readability
|
||||
function arr(max: number, fn: (i: number) => boolean): number[] {
|
||||
const out: number[] = [];
|
||||
for (let i = 1; i <= max; i++) if (fn(i)) out.push(i);
|
||||
return out;
|
||||
}
|
||||
|
||||
describe('parseSelection', () => {
|
||||
const max = 120;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user