Skip to content

Commit 7d08db8

Browse files
committed
Update the github links in collections-intro
1 parent 66b5f7c commit 7d08db8

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/data/tutorial/collections-intro.mdx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,17 @@ In the `AppSidebar` component, we use this query to get the list of projects:
2222
}),
2323
);
2424
```
25-
<GHLink href="https://github.com/fulopkovacs/trytanstackdb.com/blob/013849f87b6ce7ab5dee3873424d8e1012b810fc/src/components/AppSidebar.tsx#L45-L49" />
25+
<GHLink href="https://github.com/fulopkovacs/trytanstackdb.com/blob/5551f19041a217fd70ef406e9c96d09dc62d5eb1/src/components/AppSidebar.tsx#L31-L35" />
2626

2727
<HighLightComponent h_id="project_sidebar">Highlight `AppSidebar`</HighLightComponent>
2828

29-
On the project's page, the `RouteComponent` loads only the data relevant for the currently viewed project:
29+
On the project's page, the `EditableProjectDetails` component loads only the data relevant for the currently viewed project:
3030

3131
```tsx
3232
const {
3333
data: [project],
3434
} = useLiveQuery(
35-
(q) =>
36-
q
35+
(q) => q
3736
.from({ project: projectsCollection })
3837
.where(({ project }) => eq(project.id, projectId)),
3938
// This hook has a dependency array as seen below.
@@ -42,7 +41,7 @@ On the project's page, the `RouteComponent` loads only the data relevant for the
4241
[projectId],
4342
);
4443
```
45-
<GHLink href="https://github.com/fulopkovacs/trytanstackdb.com/blob/013849f87b6ce7ab5dee3873424d8e1012b810fc/src/routes/_tempDbRequired.projects.$projectId.tsx#L19-L27" />
44+
<GHLink href="https://github.com/fulopkovacs/trytanstackdb.com/blob/5551f19041a217fd70ef406e9c96d09dc62d5eb1/src/components/EditableProjectDetails.tsx#L93-L104" />
4645

4746
<HighLightComponent h_id="project_projectPage">Highlight `RouteComponent`</HighLightComponent>
4847

0 commit comments

Comments
 (0)