]> git.r.bdr.sh - rbdr/forum/blobdiff - src/lib/stores/forums.ts
Start migration to supabase
[rbdr/forum] / src / lib / stores / forums.ts
index 8a395b329d2c29df02b9c4dec704c4adccf5374f..0ff09f7b5f6eca3b3e268ef72fabe1b0372733a3 100644 (file)
@@ -6,4 +6,4 @@ import type { Forum } from '$lib/data/types';
 export const getForum = (id: string) =>
        store<Forum>({ key: 'forum', query: GET_FORUM, variables: { id } });
 export const getForums = () =>
-       store<Forum[]>({ key: 'forums', query: GET_FORUMS, initialValue: [] });
+       store<Forum[]>({ key: 'forumsCollection', query: GET_FORUMS, initialValue: [] });