Rewrote app to use hooks and fixed multiple re-renders.
This commit is contained in:
@@ -12,6 +12,10 @@ export const GET_CURRENT_USER = gql`
|
||||
{
|
||||
currentUser @client {
|
||||
email
|
||||
displayName
|
||||
token
|
||||
uid
|
||||
photoUrl
|
||||
}
|
||||
}
|
||||
`;
|
||||
@@ -20,4 +24,4 @@ export const GET_WHITE_BOARD_LEFT_SIDER_VISIBLE = gql`
|
||||
{
|
||||
whiteBoardLeftSiderVisible @client
|
||||
}
|
||||
`;
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user