]> git.r.bdr.sh - rbdr/forum/blobdiff - src/lib/stores/apollo.ts
Don't remember what this WIP was about
[rbdr/forum] / src / lib / stores / apollo.ts
index c75dd8723652313e43eee311b82ba3db8f64f445..4ef1986bec301e15b9bba6778734ad84b2bc61b9 100644 (file)
@@ -52,7 +52,7 @@ export const store = function store<Type>({
 
                                set({
                                        loading: false,
-                                       data: result.data[key].edges.map((item) => item.node),
+                                       data: result.data[key],
                                        error: undefined
                                });
                        },