From 432c5480b30437bd79c2c824bc0739a77573c3a2 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Sun, 22 Oct 2023 16:22:55 +0530 Subject: [PATCH] chore: update data loader example to avoid confusion closes #3113 --- docs/guide/data-loading.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/data-loading.md b/docs/guide/data-loading.md index 6c8cc353..2a356c21 100644 --- a/docs/guide/data-loading.md +++ b/docs/guide/data-loading.md @@ -13,7 +13,7 @@ A data loader file must end with either `.data.js` or `.data.ts`. The file shoul export default { load() { return { - data: 'hello' + hello: 'world' } } } @@ -35,7 +35,7 @@ Output: ```json { - "data": "hello" + "hello": "world" } ```