aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/Author.js
diff options
context:
space:
mode:
authorQuentin Gliech <quentingliech@gmail.com>2020-02-03 23:08:26 +0100
committerQuentin Gliech <quentingliech@gmail.com>2020-02-11 20:54:36 +0100
commita2721971ba82a6ba0e735bd06cf555a4c1bca84e (patch)
treeae92cad5ff79350ffc11949032d7706e072d7b72 /webui/src/Author.js
parentaea42344ded1708361e7e1d577e9c6aa370ad64e (diff)
downloadgit-bug-a2721971ba82a6ba0e735bd06cf555a4c1bca84e.tar.gz
webui: generate TS types for graphql queries
Diffstat (limited to 'webui/src/Author.js')
-rw-r--r--webui/src/Author.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/webui/src/Author.js b/webui/src/Author.js
index 237a7956..7bb1bf3c 100644
--- a/webui/src/Author.js
+++ b/webui/src/Author.js
@@ -1,4 +1,3 @@
-import gql from 'graphql-tag';
import Tooltip from '@material-ui/core/Tooltip/Tooltip';
import MAvatar from '@material-ui/core/Avatar';
import React from 'react';
@@ -15,17 +14,6 @@ const Author = ({ author, ...props }) => {
);
};
-Author.fragment = gql`
- fragment authored on Authored {
- author {
- name
- email
- displayName
- avatarUrl
- }
- }
-`;
-
export const Avatar = ({ author, ...props }) => {
if (author.avatarUrl) {
return <MAvatar src={author.avatarUrl} {...props} />;