diff --git a/adminfront/src/components/ui/badge.tsx b/adminfront/src/components/ui/badge.tsx index 8f9d0789..8ef586fd 100644 --- a/adminfront/src/components/ui/badge.tsx +++ b/adminfront/src/components/ui/badge.tsx @@ -26,8 +26,7 @@ const badgeVariants = cva( ); export interface BadgeProps - extends - React.HTMLAttributes, + extends React.HTMLAttributes, VariantProps {} function Badge({ className, variant, ...props }: BadgeProps) { diff --git a/adminfront/src/components/ui/button.tsx b/adminfront/src/components/ui/button.tsx index 91d21e58..ee1a84b4 100644 --- a/adminfront/src/components/ui/button.tsx +++ b/adminfront/src/components/ui/button.tsx @@ -34,8 +34,7 @@ const buttonVariants = cva( ); export interface ButtonProps - extends - React.ButtonHTMLAttributes, + extends React.ButtonHTMLAttributes, VariantProps { asChild?: boolean; } diff --git a/adminfront/src/components/ui/input.tsx b/adminfront/src/components/ui/input.tsx index eb2a9c6e..41955477 100644 --- a/adminfront/src/components/ui/input.tsx +++ b/adminfront/src/components/ui/input.tsx @@ -1,7 +1,8 @@ import * as React from "react"; import { cn } from "../../lib/utils"; -export interface InputProps extends React.InputHTMLAttributes {} +export interface InputProps + extends React.InputHTMLAttributes {} const Input = React.forwardRef( ({ className, type, ...props }, ref) => { diff --git a/adminfront/src/components/ui/textarea.tsx b/adminfront/src/components/ui/textarea.tsx index 78dbae91..80f0abc2 100644 --- a/adminfront/src/components/ui/textarea.tsx +++ b/adminfront/src/components/ui/textarea.tsx @@ -1,7 +1,8 @@ import * as React from "react"; import { cn } from "../../lib/utils"; -export interface TextareaProps extends React.TextareaHTMLAttributes {} +export interface TextareaProps + extends React.TextareaHTMLAttributes {} const Textarea = React.forwardRef( ({ className, ...props }, ref) => { diff --git a/adminfront/src/features/tenants/routes/TenantAdminsTab.tsx b/adminfront/src/features/tenants/routes/TenantAdminsTab.tsx index 308166e7..87601586 100644 --- a/adminfront/src/features/tenants/routes/TenantAdminsTab.tsx +++ b/adminfront/src/features/tenants/routes/TenantAdminsTab.tsx @@ -192,7 +192,7 @@ export function TenantAdminsTab() { ) : usersQuery.isLoading ? (
-
+
) : searchResults.length === 0 ? (
@@ -279,7 +279,7 @@ export function TenantAdminsTab() { {adminsQuery.isLoading ? ( -
+
) : currentAdmins.length === 0 ? ( diff --git a/adminfront/src/features/tenants/routes/TenantGroupsPage.tsx b/adminfront/src/features/tenants/routes/TenantGroupsPage.tsx index 4c483215..6e62d938 100644 --- a/adminfront/src/features/tenants/routes/TenantGroupsPage.tsx +++ b/adminfront/src/features/tenants/routes/TenantGroupsPage.tsx @@ -11,8 +11,10 @@ import { UserPlus, Users, } from "lucide-react"; -import React, { useState } from "react"; +import type React from "react"; +import { useState } from "react"; import { useParams } from "react-router-dom"; +import { toast } from "sonner"; import { Badge } from "../../../components/ui/badge"; import { Button } from "../../../components/ui/button"; import { @@ -33,15 +35,14 @@ import { TableRow, } from "../../../components/ui/table"; import { + type GroupSummary, addGroupMember, createGroup, deleteGroup, fetchGroups, removeGroupMember, - type GroupSummary, } from "../../../lib/adminApi"; import { t } from "../../../lib/i18n"; -import { toast } from "sonner"; type UserGroupNode = GroupSummary & { children: UserGroupNode[]; diff --git a/adminfront/src/features/tenants/routes/TenantListPage.tsx b/adminfront/src/features/tenants/routes/TenantListPage.tsx index 8e326978..db652d75 100644 --- a/adminfront/src/features/tenants/routes/TenantListPage.tsx +++ b/adminfront/src/features/tenants/routes/TenantListPage.tsx @@ -1,7 +1,7 @@ import { useMutation, useQuery } from "@tanstack/react-query"; import type { AxiosError } from "axios"; import { CornerDownRight, Pencil, Plus, RefreshCw, Trash2 } from "lucide-react"; -import React from "react"; +import type React from "react"; import { Link, useNavigate } from "react-router-dom"; import { Badge } from "../../../components/ui/badge"; import { Button } from "../../../components/ui/button"; @@ -21,9 +21,9 @@ import { TableRow, } from "../../../components/ui/table"; import { + type TenantSummary, deleteTenant, fetchTenants, - type TenantSummary, } from "../../../lib/adminApi"; import { t } from "../../../lib/i18n"; diff --git a/adminfront/src/features/user-groups/routes/TenantUserGroupsTab.tsx b/adminfront/src/features/user-groups/routes/TenantUserGroupsTab.tsx index 348d766e..77a68415 100644 --- a/adminfront/src/features/user-groups/routes/TenantUserGroupsTab.tsx +++ b/adminfront/src/features/user-groups/routes/TenantUserGroupsTab.tsx @@ -11,7 +11,8 @@ import { UserPlus, Users, } from "lucide-react"; -import React, { useState } from "react"; +import type React from "react"; +import { useState } from "react"; import { useParams } from "react-router-dom"; import { toast } from "sonner"; import { Badge } from "../../../components/ui/badge"; @@ -34,12 +35,12 @@ import { TableRow, } from "../../../components/ui/table"; import { + type GroupSummary, addGroupMember, createGroup, deleteGroup, fetchGroups, removeGroupMember, - type GroupSummary, } from "../../../lib/adminApi"; import { t } from "../../../lib/i18n"; diff --git a/adminfront/src/features/user-groups/routes/UserGroupDetailPage.tsx b/adminfront/src/features/user-groups/routes/UserGroupDetailPage.tsx index fce718f6..89270480 100644 --- a/adminfront/src/features/user-groups/routes/UserGroupDetailPage.tsx +++ b/adminfront/src/features/user-groups/routes/UserGroupDetailPage.tsx @@ -156,7 +156,7 @@ export function UserGroupDetailPage() { if (isGroupLoading) return (
-
+
{t("msg.common.loading", "로딩 중...")} @@ -534,7 +534,7 @@ export function UserGroupDetailPage() { {isRolesLoading ? ( -
+
) : !groupRoles || groupRoles.length === 0 ? ( diff --git a/devfront/src/components/ui/badge.tsx b/devfront/src/components/ui/badge.tsx index 8f9d0789..8ef586fd 100644 --- a/devfront/src/components/ui/badge.tsx +++ b/devfront/src/components/ui/badge.tsx @@ -26,8 +26,7 @@ const badgeVariants = cva( ); export interface BadgeProps - extends - React.HTMLAttributes, + extends React.HTMLAttributes, VariantProps {} function Badge({ className, variant, ...props }: BadgeProps) { diff --git a/devfront/src/components/ui/button.tsx b/devfront/src/components/ui/button.tsx index 91d21e58..ee1a84b4 100644 --- a/devfront/src/components/ui/button.tsx +++ b/devfront/src/components/ui/button.tsx @@ -34,8 +34,7 @@ const buttonVariants = cva( ); export interface ButtonProps - extends - React.ButtonHTMLAttributes, + extends React.ButtonHTMLAttributes, VariantProps { asChild?: boolean; } diff --git a/devfront/src/components/ui/input.tsx b/devfront/src/components/ui/input.tsx index eb2a9c6e..41955477 100644 --- a/devfront/src/components/ui/input.tsx +++ b/devfront/src/components/ui/input.tsx @@ -1,7 +1,8 @@ import * as React from "react"; import { cn } from "../../lib/utils"; -export interface InputProps extends React.InputHTMLAttributes {} +export interface InputProps + extends React.InputHTMLAttributes {} const Input = React.forwardRef( ({ className, type, ...props }, ref) => { diff --git a/devfront/src/components/ui/textarea.tsx b/devfront/src/components/ui/textarea.tsx index 78dbae91..80f0abc2 100644 --- a/devfront/src/components/ui/textarea.tsx +++ b/devfront/src/components/ui/textarea.tsx @@ -1,7 +1,8 @@ import * as React from "react"; import { cn } from "../../lib/utils"; -export interface TextareaProps extends React.TextareaHTMLAttributes {} +export interface TextareaProps + extends React.TextareaHTMLAttributes {} const Textarea = React.forwardRef( ({ className, ...props }, ref) => { diff --git a/devfront/src/features/auth/LoginPage.tsx b/devfront/src/features/auth/LoginPage.tsx index 5d0dfe59..7004f4eb 100644 --- a/devfront/src/features/auth/LoginPage.tsx +++ b/devfront/src/features/auth/LoginPage.tsx @@ -1,4 +1,4 @@ -import { ShieldHalf, LogIn, ExternalLink } from "lucide-react"; +import { ExternalLink, LogIn, ShieldHalf } from "lucide-react"; import { useAuth } from "react-oidc-context"; import { Button } from "../../components/ui/button"; import { @@ -71,9 +71,9 @@ function LoginPage() {
-
-
-
+
+
+