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

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

No files matched your search

+4
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');