mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
Add project management
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import { useMemo } from "react";
|
||||
import { ApolloClient, HttpLink, InMemoryCache } from "@apollo/client";
|
||||
import { concatPagination } from "@apollo/client/utilities";
|
||||
|
||||
let apolloClient;
|
||||
|
||||
@ -12,10 +11,8 @@ function createApolloClient() {
|
||||
}),
|
||||
cache: new InMemoryCache({
|
||||
typePolicies: {
|
||||
Query: {
|
||||
fields: {
|
||||
allPosts: concatPagination(),
|
||||
},
|
||||
Project: {
|
||||
keyFields: ["name"],
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
@ -11,6 +11,12 @@ const theme = createMuiTheme({
|
||||
secondary: {
|
||||
main: teal["A400"],
|
||||
},
|
||||
info: {
|
||||
main: teal["A400"],
|
||||
},
|
||||
success: {
|
||||
main: teal["A400"],
|
||||
},
|
||||
},
|
||||
typography: {
|
||||
h2: {
|
||||
|
Reference in New Issue
Block a user