Skip to content

Commit

Permalink
Update data-client.md
Browse files Browse the repository at this point in the history
correct file for the current source code
  • Loading branch information
lschierer authored Jan 22, 2025
1 parent 0547162 commit 0007a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/docs/content-as-data/data-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ To narrow down a set of pages by an entire route, you can call `getContentByRout
Below is an example of generating a list of all pages starting with a route of _/blog/_:

```js
import { getContentByRoute } from "@greenwood/cli/src/data/queries.js";
import { getContentByRoute } from "@greenwood/cli/src/data/client.js";

export default class BlogPostsList extends HTMLElement {
async connectedCallback() {
Expand Down

0 comments on commit 0007a84

Please sign in to comment.