]> git.r.bdr.sh - rbdr/forum/blob - src/lib/stores/topics.ts
8d69d801341d7ba2da5d4e642b7901a27038f3d5
[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) =>
5 store({ key: 'topic', query: GET_TOPIC, variables: { id } });