This commit is contained in:
EthanHealy01 2025-10-28 04:06:01 +00:00
parent a509f54745
commit 0ea16e4620
3 changed files with 2 additions and 7 deletions

View File

@ -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";

View File

@ -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();

View File

@ -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';