feat: refactor app data provider and context for improved data management and performance

This commit is contained in:
Tunglies
2025-10-04 21:20:31 +08:00
parent 90b98f695b
commit 1176f8c863
19 changed files with 403 additions and 353 deletions

View File

@@ -1,10 +1,10 @@
import { DeveloperBoardOutlined } from "@mui/icons-material";
import { Typography, Stack, Divider } from "@mui/material";
import { Divider, Stack, Typography } from "@mui/material";
import { useMemo } from "react";
import { useTranslation } from "react-i18next";
import { useClash } from "@/hooks/use-clash";
import { useAppData } from "@/providers/app-data-provider";
import { useAppData } from "@/providers/app-data-context";
import { EnhancedCard } from "./enhanced-card";