diff --git a/adminfront/src/features/tenants/routes/TenantListPage.tsx b/adminfront/src/features/tenants/routes/TenantListPage.tsx index b2622121..5a3d4080 100644 --- a/adminfront/src/features/tenants/routes/TenantListPage.tsx +++ b/adminfront/src/features/tenants/routes/TenantListPage.tsx @@ -238,8 +238,12 @@ function TenantListPage() { const [viewMode, setViewMode] = React.useState<"list" | "hierarchy">("list"); const [selectedIds, setSelectedIds] = React.useState([]); const [search, setSearch] = React.useState(""); - const [sortConfig, setSortConfig] = - React.useState | null>(null); + const [sortConfig, setSortConfig] = React.useState | null>( + { + key: "createdAt", + direction: "desc", + }, + ); const fileInputRef = React.useRef(null); const [importMessage, setImportMessage] = React.useState(""); const [previewRows, setPreviewRows] = React.useState< @@ -965,53 +969,53 @@ function TenantListPage() { /> {t("ui.common.actions", "액션")} diff --git a/devfront/src/features/clients/ClientsPage.tsx b/devfront/src/features/clients/ClientsPage.tsx index fcc26b1d..7f6f92e7 100644 --- a/devfront/src/features/clients/ClientsPage.tsx +++ b/devfront/src/features/clients/ClientsPage.tsx @@ -120,8 +120,12 @@ function ClientsPage() { const [statusFilter, setStatusFilter] = useState("all"); const [isAdvancedFilterOpen, setIsAdvancedFilterOpen] = useState(false); const [isRequestModalOpen, setIsRequestModalOpen] = useState(false); - const [sortConfig, setSortConfig] = - useState | null>(null); + const [sortConfig, setSortConfig] = useState | null>( + { + key: "createdAt", + direction: "desc", + }, + ); const clients = data?.items || []; const clientSortResolvers = useMemo< @@ -439,35 +443,30 @@ function ClientsPage() {