mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-16 05:47:09 +08:00
chore(admin): organize massive routes (#7857)
This commit is contained in:
@@ -9,7 +9,6 @@ import { Separator } from '@affine/admin/components/ui/separator';
|
||||
import { useQueryImmutable } from '@affine/core/hooks/use-query';
|
||||
import { getServerServiceConfigsQuery } from '@affine/graphql';
|
||||
|
||||
import { Layout } from '../layout';
|
||||
import { AboutAFFiNE } from './about';
|
||||
|
||||
type ServerConfig = {
|
||||
@@ -38,10 +37,6 @@ type ServerServiceConfig = {
|
||||
config: ServerConfig | MailerConfig | DatabaseConfig;
|
||||
};
|
||||
|
||||
export function Config() {
|
||||
return <Layout content={<ConfigPage />} />;
|
||||
}
|
||||
|
||||
export function ConfigPage() {
|
||||
return (
|
||||
<div className=" h-screen flex-1 space-y-1 flex-col flex">
|
||||
@@ -218,4 +213,4 @@ export function ServerServiceConfig() {
|
||||
);
|
||||
}
|
||||
|
||||
export { Config as Component };
|
||||
export { ConfigPage as Component };
|
||||
|
||||
Reference in New Issue
Block a user