X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/55fb920baa9792266be1a6b981f954c622c1eaf9..73973edab9aaa81312ba80a68bfe34bf5abcecd9:/src/stores/forums.js diff --git a/src/stores/forums.js b/src/stores/forums.js index 583b0d3..39822a3 100644 --- a/src/stores/forums.js +++ b/src/stores/forums.js @@ -1,4 +1,4 @@ import { store } from './apollo'; import { GET_FORUMS } from '$/data/queries'; -export const forums = store({ key: 'forums', query: GET_FORUMS, initialValue: [] }); +export const getForums = () => store({ key: 'forums', query: GET_FORUMS, initialValue: [] });