mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-12-18 20:04:17 +01:00
checks
This commit is contained in:
parent
f19832d47e
commit
f791f90bba
@ -1,5 +1,5 @@
|
||||
import { useEffect, useState, useRef } from 'react';
|
||||
import { ActionIcon, ScrollArea, Switch, Text, Tooltip, useMantineColorScheme } from '@mantine/core';
|
||||
import { ActionIcon, ScrollArea, Switch, Tooltip, useMantineColorScheme } from '@mantine/core';
|
||||
import ViewSidebarRoundedIcon from '@mui/icons-material/ViewSidebarRounded';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import ToolSearch from './toolPicker/ToolSearch';
|
||||
|
||||
@ -5,11 +5,6 @@ const RECENT_TOOLS_KEY = 'stirlingpdf.recentTools';
|
||||
const FAVORITE_TOOLS_KEY = 'stirlingpdf.favoriteTools';
|
||||
const MAX_RECENT_TOOLS = 10;
|
||||
|
||||
interface ToolHistoryData {
|
||||
recentTools: ToolId[];
|
||||
favoriteTools: ToolId[];
|
||||
}
|
||||
|
||||
export function useToolHistory() {
|
||||
const [recentTools, setRecentTools] = useState<ToolId[]>([]);
|
||||
const [favoriteTools, setFavoriteTools] = useState<ToolId[]>([]);
|
||||
|
||||
@ -37,7 +37,6 @@ export default function HomePage() {
|
||||
handleToolSelect,
|
||||
handleBackToTools,
|
||||
readerMode,
|
||||
leftPanelView,
|
||||
setLeftPanelView,
|
||||
} = useToolWorkflow();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user