mirror of
https://github.com/wassname/talk.git
synced 2026-07-01 03:43:48 +08:00
Renaming Fragment and variable name
This commit is contained in:
@@ -89,14 +89,14 @@ export default {
|
||||
},
|
||||
update: (proxy) => {
|
||||
|
||||
if (name !== 'FEATURED') {
|
||||
if (variables.name !== 'FEATURED') {
|
||||
return;
|
||||
}
|
||||
|
||||
const fragmentId = `Comment_${variables.id}`;
|
||||
|
||||
const fragment = gql`
|
||||
fragment Talk_ModerationActions_addTag on Comment {
|
||||
fragment Talk_FeaturedComments_addTag on Comment {
|
||||
status
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user