@@ -9,19 +9,22 @@ import { AdminServiceQueries } from "@raystack/proton/frontier";
99import {
1010 useInfiniteQuery ,
1111 createConnectQueryKey ,
12- useTransport ,
13- } from "@connectrpc/connect-query" ;
14- import { useQueryClient } from "@tanstack/react-query" ;
15- import { UsersIcon } from "../../../../assets/icons/UsersIcon" ;
16- import { ExclamationTriangleIcon } from "@radix-ui/react-icons" ;
17- import { OrganizationContext } from "../contexts/organization-context" ;
18- import { AssignRole } from "../../../../components/AssignRole" ;
19- import { RemoveMember } from "./remove-member" ;
20- import { getConnectNextPageParam , DEFAULT_PAGE_SIZE } from "../../../../utils/connect-pagination" ;
21- import { transformDataTableQueryToRQLRequest } from "../../../../utils/transform-query" ;
22- import { useDebounceValue } from "usehooks-ts" ;
23-
24- const DEFAULT_SORT : DataTableSort = { name : "org_joined_at" , order : "desc" } ;
12+ useTransport
13+ } from '@connectrpc/connect-query' ;
14+ import { useQueryClient } from '@tanstack/react-query' ;
15+ import { UsersIcon } from '../../../../assets/icons/UsersIcon' ;
16+ import { ExclamationTriangleIcon } from '@radix-ui/react-icons' ;
17+ import { OrganizationContext } from '../contexts/organization-context' ;
18+ import { AssignRole } from '../../../../components/AssignRole' ;
19+ import { RemoveMember } from './remove-member' ;
20+ import {
21+ getConnectNextPageParam ,
22+ DEFAULT_PAGE_SIZE
23+ } from '../../../../utils/connect-pagination' ;
24+ import { transformDataTableQueryToRQLRequest } from '../../../../utils/transform-query' ;
25+ import { useDebounceValue } from 'usehooks-ts' ;
26+
27+ const DEFAULT_SORT : DataTableSort = { name : 'orgJoinedAt' , order : 'desc' } ;
2528const INITIAL_QUERY : DataTableQuery = {
2629 offset : 0 ,
2730 limit : DEFAULT_PAGE_SIZE ,
0 commit comments