chore(admin): organize massive routes (#7857)

This commit is contained in:
forehalo
2024-08-14 03:34:38 +00:00
parent 0ba516866f
commit 015247345c
10 changed files with 187 additions and 210 deletions

View File

@@ -3,14 +3,9 @@ import { useQuery } from '@affine/core/hooks/use-query';
import { listUsersQuery } from '@affine/graphql';
import { useState } from 'react';
import { Layout } from '../layout';
import { columns } from './components/columns';
import { DataTable } from './components/data-table';
export function Accounts() {
return <Layout content={<AccountPage />} />;
}
export function AccountPage() {
const [pagination, setPagination] = useState({
pageIndex: 0,
@@ -45,4 +40,4 @@ export function AccountPage() {
</div>
);
}
export { Accounts as Component };
export { AccountPage as Component };