]> git.r.bdr.sh - rbdr/forum/blob - src/stores/topic.js
Add stores for GraphQL data:
[rbdr/forum] / src / stores / topic.js
1 import { store } from './apollo';
2 import { GET_TOPIC } from '$data/queries';
3
4 export const getTopic = (id) => store({ key: 'topic', query: GET_TOPIC, variables: { id } });