Skip to content

Commit

Permalink
docs: Update external-data-loading.md (#708)
Browse files Browse the repository at this point in the history
* Update external-data-loading.md

* Update docs/guide/external-data-loading.md

---------

Co-authored-by: Tanner Linsley <[email protected]>
  • Loading branch information
WonderPanda and tannerlinsley authored Sep 3, 2023
1 parent 345958d commit 1a05ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/external-data-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const loaderClient = new LoaderClient({
const postsRoute = new Route({
getParentPath: () => rootRoute,
path: 'posts',
fn: async () => {
loader: async () => {
// Ensure our loader is loaded with an "await"
await loaderClient.load({ key: 'posts' })
},
Expand Down

0 comments on commit 1a05ac7

Please sign in to comment.