]> git.r.bdr.sh - rbdr/forum/blob - src/lib/stores/topics.ts
Remove outdated docs
[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 } });