]> git.r.bdr.sh - rbdr/forum/blob - src/stores/posts.js
Add posts store pact test
[rbdr/forum] / src / stores / posts.js
1 import { store } from './apollo';
2 import { GET_POST } from '$/data/queries';
3
4 export const getPost = (id) => store({ key: 'post', query: GET_POST, variables: { id } });