mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-12-18 20:04:17 +01:00
lint
This commit is contained in:
parent
a509f54745
commit
0ea16e4620
@ -1,6 +1,5 @@
|
||||
import React, { useState, useCallback, useMemo } from "react";
|
||||
import { SegmentedControl, Loader, Menu, Button } from "@mantine/core";
|
||||
import { useMediaQuery } from "@mantine/hooks";
|
||||
import React, { useState, useCallback } from "react";
|
||||
import { SegmentedControl, Loader } from "@mantine/core";
|
||||
import { useRainbowThemeContext } from "./RainbowThemeProvider";
|
||||
import rainbowStyles from '../../styles/rainbow.module.css';
|
||||
import VisibilityIcon from "@mui/icons-material/Visibility";
|
||||
|
||||
@ -17,8 +17,6 @@ const CompareNavigationDropdown = ({
|
||||
}: NavigationDropdownProps) => {
|
||||
const { t } = useTranslation();
|
||||
const newLineLabel = t('compare.newLine', 'new-line');
|
||||
const formatPageLabel = (page: number) =>
|
||||
t('compare.dropdown.pagePrefix', { page, defaultValue: 'Page {{page}}' });
|
||||
const combobox = useCombobox({
|
||||
onDropdownClose: () => {
|
||||
combobox.resetSelectedOption();
|
||||
|
||||
@ -1,8 +1,6 @@
|
||||
import { useMemo } from 'react';
|
||||
import { ActionIcon } from '@mantine/core';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import LocalIcon from '../../../shared/LocalIcon';
|
||||
import { Tooltip } from '../../../shared/Tooltip';
|
||||
import { alert } from '../../../toast';
|
||||
import type { ToastLocation } from '../../../toast/types';
|
||||
import type { RightRailButtonWithAction } from '../../../../hooks/useRightRailButtons';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user