fix(admin): fix the admin app (#9233)

This commit is contained in:
EYHN committed 2024-12-23 03:06:31 +00:00
1 parent ec5bbb442f
commit cddef4c2f6
12 files changed
+253 -63

No files matched your search

@@ -1,5 +1,3 @@
import { useMutateQueryResource } from '@affine/core/components/hooks/use-mutation';
import { useQuery } from '@affine/core/components/hooks/use-query';
import type { GetCurrentUserFeaturesQuery } from '@affine/graphql';
import {
adminServerConfigQuery,
@@ -7,6 +5,9 @@ import {
getCurrentUserFeaturesQuery,
} from '@affine/graphql';
import { useMutateQueryResource } from '../use-mutation';
import { useQuery } from '../use-query';
export const useServerConfig = () => {
const { data } = useQuery({
query: adminServerConfigQuery,