refactor: form access type
This commit is contained in:
@ -3,22 +3,8 @@ import { useRef, useState } from 'react';
|
|||||||
import { useManageAccessTypeContext } from '../hooks/useManageAccessTypeContext';
|
import { useManageAccessTypeContext } from '../hooks/useManageAccessTypeContext';
|
||||||
import { Alert, KeenIcon, useDataGrid } from '@/components';
|
import { Alert, KeenIcon, useDataGrid } from '@/components';
|
||||||
import { useCallApi } from '@/hooks';
|
import { useCallApi } from '@/hooks';
|
||||||
import {
|
import { Dialog, DialogBody, DialogContent, DialogHeader } from '@/components/ui/dialog';
|
||||||
Dialog,
|
|
||||||
DialogBody,
|
|
||||||
DialogContent,
|
|
||||||
DialogDescription,
|
|
||||||
DialogHeader,
|
|
||||||
DialogTitle
|
|
||||||
} from '@/components/ui/dialog';
|
|
||||||
import { Input } from '@/components/ui/input';
|
import { Input } from '@/components/ui/input';
|
||||||
import {
|
|
||||||
Select,
|
|
||||||
SelectContent,
|
|
||||||
SelectItem,
|
|
||||||
SelectTrigger,
|
|
||||||
SelectValue
|
|
||||||
} from '@/components/ui/select';
|
|
||||||
import { Button } from '@/components/ui/button';
|
import { Button } from '@/components/ui/button';
|
||||||
|
|
||||||
const API_URL = apiConfig.service_dashboard;
|
const API_URL = apiConfig.service_dashboard;
|
||||||
|
|||||||
@ -3,7 +3,7 @@ import { Toaster } from '@/components/ui/sonner';
|
|||||||
import { apiConfig } from '@/config/api.config';
|
import { apiConfig } from '@/config/api.config';
|
||||||
import { useCallApi } from '@/hooks';
|
import { useCallApi } from '@/hooks';
|
||||||
import { ColumnDef } from '@tanstack/react-table';
|
import { ColumnDef } from '@tanstack/react-table';
|
||||||
import { createContext, useCallback, useEffect, useMemo, useState } from 'react';
|
import { createContext, useCallback, useMemo, useState } from 'react';
|
||||||
import ListToolbar from '../blocks/ListToolBar';
|
import ListToolbar from '../blocks/ListToolBar';
|
||||||
|
|
||||||
interface SelectedUser {
|
interface SelectedUser {
|
||||||
|
|||||||
Reference in New Issue
Block a user