X-Git-Url: https://git.r.bdr.sh/rbdr/forum/blobdiff_plain/0472e8073b9df492596e550fc79c42ca93ba14c0..d2cd7f1b4c318ac8587ab3dc1dec4a44b6d592fe:/src/lib/stores/apollo.ts diff --git a/src/lib/stores/apollo.ts b/src/lib/stores/apollo.ts index 4ef1986..c75dd87 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], + data: result.data[key].edges.map((item) => item.node), error: undefined }); },