refactor: remove unused UI components and icons across multiple pages
This commit is contained in:
parent
873d5af758
commit
421aaa1b87
@ -1,7 +1,6 @@
|
||||
import { useState, useRef, useEffect } from 'react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { Search, ChevronDown, Menu, LogOut, User, ChevronRight } from 'lucide-react';
|
||||
import { Button } from '@/components/ui/button';
|
||||
import { ChevronDown, Menu, LogOut, User, ChevronRight } from 'lucide-react';
|
||||
import { useAppDispatch, useAppSelector } from '@/hooks/redux-hooks';
|
||||
import { logoutAsync } from '@/store/authSlice';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
||||
@ -10,7 +10,7 @@ import {
|
||||
type Column,
|
||||
} from '@/components/shared';
|
||||
import { ViewModuleModal, NewModuleModal } from '@/components/superadmin';
|
||||
import { Plus, Download, ArrowUpDown } from 'lucide-react';
|
||||
import { Plus, ArrowUpDown } from 'lucide-react';
|
||||
import { moduleService } from '@/services/module-service';
|
||||
import type { Module } from '@/types/module';
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ import {
|
||||
type Column,
|
||||
} from '@/components/shared';
|
||||
// Note: NewTenantModal, ViewTenantModal, EditTenantModal are now in @/components/superadmin (commented out - using wizard/details/edit pages instead)
|
||||
import { Plus, Download, ArrowUpDown } from 'lucide-react';
|
||||
import { Plus, ArrowUpDown } from 'lucide-react';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { tenantService } from '@/services/tenant-service';
|
||||
import type { Tenant } from '@/types/tenant';
|
||||
|
||||
@ -4,7 +4,6 @@ import {
|
||||
FileCheck,
|
||||
Briefcase,
|
||||
FileText,
|
||||
GraduationCap,
|
||||
Users,
|
||||
Bell,
|
||||
} from "lucide-react";
|
||||
|
||||
@ -24,7 +24,6 @@ import {
|
||||
Eye,
|
||||
Pencil,
|
||||
Trash2,
|
||||
SlidersHorizontal,
|
||||
ChevronDown,
|
||||
} from "lucide-react";
|
||||
import { Layout } from "@/components/layout/Layout";
|
||||
|
||||
@ -13,7 +13,7 @@ import {
|
||||
FilterDropdown,
|
||||
type Column,
|
||||
} from '@/components/shared';
|
||||
import { Plus, Download, ArrowUpDown } from 'lucide-react';
|
||||
import { Plus, ArrowUpDown } from 'lucide-react';
|
||||
import { roleService } from '@/services/role-service';
|
||||
import type { Role, CreateRoleRequest, UpdateRoleRequest } from '@/types/role';
|
||||
import { showToast } from '@/utils/toast';
|
||||
|
||||
@ -14,7 +14,7 @@ import {
|
||||
FilterDropdown,
|
||||
type Column,
|
||||
} from "@/components/shared";
|
||||
import { Plus, Download, ArrowUpDown } from "lucide-react";
|
||||
import { Plus, ArrowUpDown } from "lucide-react";
|
||||
import { userService } from "@/services/user-service";
|
||||
import type { User } from "@/types/user";
|
||||
import { showToast } from "@/utils/toast";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user