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