Complete rewrite of local state management.

This commit is contained in:
Patrick Fic
2019-12-06 23:30:15 -08:00
parent 8a72294c91
commit 4f3d917e06
17 changed files with 366 additions and 217 deletions

View File

@@ -0,0 +1,17 @@
import { gql } from "apollo-boost";
export const SET_CURRENT_USER = gql`
mutation SetCurrentUser($user: User!) {
setCurrentUser(user: $user) @client {
email
}
}
`;
export const GET_CURRENT_USER = gql`
{
currentUser @client {
email
}
}
`;