refactor(core): adjust graphql hook (#5339)

This commit is contained in:
EYHN
2023-12-28 07:43:25 +00:00
parent 7e75e19d04
commit 0b9cd00fd3
28 changed files with 137 additions and 119 deletions

View File

@@ -3,3 +3,7 @@ export * from './graphql';
export * from './schema';
export * from './utils';
import '@affine/env/global';
import { gqlFetcherFactory } from './fetcher';
export const fetcher = gqlFetcherFactory('/graphql');