X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/d2cd7f1b4c318ac8587ab3dc1dec4a44b6d592fe..3d65cb04707cf3af11885995fd1110a5971d8b00:/src/lib/stores/apollo.ts diff --git a/src/lib/stores/apollo.ts b/src/lib/stores/apollo.ts index c75dd87..4ef1986 100644 --- a/src/lib/stores/apollo.ts +++ b/src/lib/stores/apollo.ts @@ -52,7 +52,7 @@ export const store = function store({ set({ loading: false, - data: result.data[key].edges.map((item) => item.node), + data: result.data[key], error: undefined }); },