mirror of
https://github.com/wassname/talk.git
synced 2026-10-30 13:50:47 +08:00
Renaming Fragment and variable name
This commit is contained in:
1 parent
6e88cc94e0
commit
aa364e1abe
1 file changed
+2
-2
@@ -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