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