Refactor imports and improve code organization across multiple components and hooks
- Consolidated and reordered imports in various files for better readability and maintainability. - Removed unused imports and ensured consistent import styles. - Enhanced the structure of components by grouping related imports together. - Updated the layout and organization of hooks to streamline functionality. - Improved the overall code quality by following best practices in import management.
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
import { useEffect, useState } from "react";
|
||||
import {
|
||||
CheckCircleOutlined,
|
||||
CancelOutlined,
|
||||
HelpOutline,
|
||||
PendingOutlined,
|
||||
RefreshRounded,
|
||||
AccessTimeOutlined,
|
||||
} from "@mui/icons-material";
|
||||
import {
|
||||
Box,
|
||||
Button,
|
||||
@@ -12,18 +19,12 @@ import {
|
||||
useTheme,
|
||||
Grid,
|
||||
} from "@mui/material";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { invoke } from "@tauri-apps/api/core";
|
||||
import { BasePage, BaseEmpty } from "@/components/base";
|
||||
import { useLockFn } from "ahooks";
|
||||
import {
|
||||
CheckCircleOutlined,
|
||||
CancelOutlined,
|
||||
HelpOutline,
|
||||
PendingOutlined,
|
||||
RefreshRounded,
|
||||
AccessTimeOutlined,
|
||||
} from "@mui/icons-material";
|
||||
import { useEffect, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
import { BasePage, BaseEmpty } from "@/components/base";
|
||||
import { showNotice } from "@/services/noticeService";
|
||||
|
||||
interface UnlockItem {
|
||||
|
||||
Reference in New Issue
Block a user