mirror of
https://github.com/wassname/talk.git
synced 2026-08-11 05:54:07 +08:00
14 lines
291 B
JavaScript
14 lines
291 B
JavaScript
import {graphql} from 'react-apollo';
|
|
import POST_RESPECT from './postRespect.graphql';
|
|
|
|
export const postRespect = graphql(POST_RESPECT, {
|
|
props: ({mutate}) => ({
|
|
postRespect: (respect) => {
|
|
return mutate({
|
|
variables: {
|
|
respect
|
|
}
|
|
});
|
|
}})
|
|
});
|