diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-05-02 00:23:16 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-05-02 00:23:16 +0200 |
| commit | 73973edab9aaa81312ba80a68bfe34bf5abcecd9 (patch) | |
| tree | 9d3916655c416407e12dc66e9f1f865cec0fb2b3 /src/stores/forums.js | |
| parent | 55fb920baa9792266be1a6b981f954c622c1eaf9 (diff) | |
Add pact test for forums store
Diffstat (limited to 'src/stores/forums.js')
| -rw-r--r-- | src/stores/forums.js | 2 |
1 files changed, 1 insertions, 1 deletions
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: [] }); |