feat: remove unused admin dashboard components and icons for cleanup

This commit is contained in:
Ardeman
2025-03-07 17:31:30 +08:00
parent c91fe48eb9
commit a7bae3ea43
14 changed files with 5 additions and 465 deletions
+3 -6
View File
@@ -4,7 +4,6 @@ import { getStaff } from '~/apis/admin/get-staff'
import { getCategories } from '~/apis/common/get-categories'
import { getTags } from '~/apis/common/get-tags'
import { AUTH_PAGES } from '~/configs/pages'
import { AdminProvider } from '~/contexts/admin'
import { AdminDefaultLayout } from '~/layouts/admin/default'
import { handleCookie } from '~/libs/cookies'
@@ -42,11 +41,9 @@ export const loader = async ({ request }: Route.LoaderArgs) => {
const AdminLayout = () => {
return (
<AdminProvider>
<AdminDefaultLayout>
<Outlet />
</AdminDefaultLayout>
</AdminProvider>
<AdminDefaultLayout>
<Outlet />
</AdminDefaultLayout>
)
}