@@ -15,11 +15,6 @@ export const TenantsPage: FC = () => {
1515 const [ currentPage , setCurrentPage ] = useState ( 1 ) ;
1616 const [ isCreateDialogOpen , setIsCreateDialogOpen ] = useState ( false ) ;
1717
18- const handleCreateSuccess = ( ) => {
19- setIsCreateDialogOpen ( false ) ;
20- // Ideally trigger a refresh here
21- } ;
22-
2318 const { data : tenantResponse , isLoading, error } = features . useTenants ( {
2419 page : currentPage ,
2520 pageSize : ITEMS_PER_PAGE ,
@@ -328,7 +323,7 @@ export const TenantsPage: FC = () => {
328323 < table className = "w-full" >
329324 < thead className = "bg-neutral-50 dark:bg-neutral-800 border-b border-neutral-200 dark:border-neutral-700" >
330325 < tr >
331- < th
326+ < th
332327 className = "px-6 py-3 text-left text-xs font-medium text-neutral-500 dark:text-neutral-400 uppercase tracking-wider cursor-pointer hover:text-neutral-700 dark:hover:text-neutral-300"
333328 onClick = { ( ) => handleSort ( 'name' ) }
334329 >
@@ -337,7 +332,7 @@ export const TenantsPage: FC = () => {
337332 { getSortIcon ( 'name' ) }
338333 </ div >
339334 </ th >
340- < th
335+ < th
341336 className = "px-6 py-3 text-left text-xs font-medium text-neutral-500 dark:text-neutral-400 uppercase tracking-wider cursor-pointer hover:text-neutral-700 dark:hover:text-neutral-300"
342337 onClick = { ( ) => handleSort ( 'isActive' ) }
343338 >
@@ -346,7 +341,7 @@ export const TenantsPage: FC = () => {
346341 { getSortIcon ( 'isActive' ) }
347342 </ div >
348343 </ th >
349- < th
344+ < th
350345 className = "px-6 py-3 text-left text-xs font-medium text-neutral-500 dark:text-neutral-400 uppercase tracking-wider cursor-pointer hover:text-neutral-700 dark:hover:text-neutral-300"
351346 onClick = { ( ) => handleSort ( 'maxUsers' ) }
352347 >
@@ -355,7 +350,7 @@ export const TenantsPage: FC = () => {
355350 { getSortIcon ( 'maxUsers' ) }
356351 </ div >
357352 </ th >
358- < th
353+ < th
359354 className = "px-6 py-3 text-left text-xs font-medium text-neutral-500 dark:text-neutral-400 uppercase tracking-wider cursor-pointer hover:text-neutral-700 dark:hover:text-neutral-300"
360355 onClick = { ( ) => handleSort ( 'createdAt' ) }
361356 >
0 commit comments