]> git.r.bdr.sh - rbdr/forum/blobdiff - src/stores/forums.js
Add pact test for forums store
[rbdr/forum] / src / stores / forums.js
index 583b0d35b1cac445825ce1c6c7fe8a31d8b52ab8..39822a376c4b0b39ec26337e9ce2da3cd06b47b7 100644 (file)
@@ -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: [] });