mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
Change fetchPolicy
This commit is contained in:
@@ -165,7 +165,8 @@ export const withUserDetailQuery = withQuery(gql`
|
||||
`, {
|
||||
options: ({userId, statuses}) => {
|
||||
return {
|
||||
variables: {author_id: userId, statuses}
|
||||
variables: {author_id: userId, statuses},
|
||||
fetchPolicy: 'network-only',
|
||||
};
|
||||
},
|
||||
skip: (ownProps) => !ownProps.userId,
|
||||
|
||||
Reference in New Issue
Block a user